magnopy.SpinHamiltonian.map_to_magnetic#

property

property SpinHamiltonian.map_to_magnetic#

Index map from all atoms to the magnetic ones.

Returns:
map_to_magnetic (L, ) list of int

Index map. Integers. L = len(spinham.atoms.names)