magnopy.SpinHamiltonian.get_empty#
method
- SpinHamiltonian.get_empty()[source]#
Returns the Hamiltonian with the same cell, atoms and convention, but with no parameters present.
- Returns:
- spinhampy:class:.SpinHamiltonian
New instance of the spin Hamiltonian.
Notes
Note that in the new Hamiltonian
spinham.M == 0- as there is no parameters present, then no atoms are considered to be magnetic.