mag4.magnon.sublattice
Inequivalent magnetic sites and bond table for the multi-sublattice exchange matrix.
Functions
|
Group magnetic sites into crystallographically inequivalent classes. |
|
Build the bond table for the full |
- mag4.magnon.sublattice.get_inequivalent_sites(cif_path, element)[source]
Group magnetic sites into crystallographically inequivalent classes.
Uses
pymatgen.symmetry.analyzer.SpacegroupAnalyzerto derive Wyckoff orbits and returns one list of global site indices per class.
- mag4.magnon.sublattice.get_sublattice_bonds(cif_path, element, cutoff, shells, j_values, tol=0.01)[source]
Build the bond table for the full
N_mag × N_magprimitive-cell exchange matrix.Every magnetic atom is treated as its own sublattice. The reciprocal-space exchange matrix is
\[J_{αβ}(q) = Σ_{\text{images}} J_n · \exp(i\,q · r_{αβ,\text{image}})\]