%% Crystal structure
% We define only the magnetic atoms in of the crystal that are Fe3+ ions
% with spin quantum number of 5/2.

banb = spinw;
banb.genlattice('lat_const',[8.539 8.539 5.2414],'angled',[90 90 120],'sym','P 3 2 1');
banb.addatom('label','MFe3','r',[0.24964 0 1/2],'S',5/2,'color','gray');
banb.gencoupling;
plot(banb,'range',[-0.5 1.5;-0.5 1.5;0 0.5])

%% Chrality
% We define three chiral properties of the crystal and magnetic order:
% * epsilon_T:  crystal chirality, in our case we select J3-