ely we optimize the magnetic structure</a></li><li><a href="#6">Spin wave spectrum</a></li><li><a href="#7">Chiral correlations</a></li></ul></div><h2 id="1">Crystal structure</h2><p>We define only the magnetic atoms in of the crystal that are Fe3+ ions with spin quantum number of 5/2.</p><pre class="codeinput">banb = spinw;
banb.genlattice(<span class="string">'lat_const'</span>,[8.539 8.539 5.2414],<span class="string">'angled'</span>,[90 90 120],<span class="string">'sym'</span>,<span class="string">'P 3