magnopy.io.load_grogu#

magnopy.io.load_grogu(filename) SpinHamiltonian[source]#

Load a SpinHamiltonian object from a .txt file produced by GROGU.

For more information on GROGU's file format see GROGU file format.

Parameters:
filenamestr

File with the parameters and crystal structure of the spin Hamiltonian.

Returns:
spinhamSpinHamiltonian

Spin Hamiltonian loaded from file.