magnopy.io#

Other#

read_spin_directions(filename)

Read directions of the spins from the file.

TB2J#

load_tb2j(filename[, spin_values, ...])

Read spin Hamiltonian from the output of TB2J.

GROGU#

load_grogu(filename)

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

Vampire#

dump_vampire(spinham[, seedname, ...])

Save the Hamiltonian in the format suitable for Vampire.

dump_vampire_mat(spinham[, filename, ...])

Write .mat file for Vampire.

dump_vampire_ucf(spinham[, filename, ...])

Write .UCF file for Vampire.

Deprecated#

output_k_resolved(data[, data_headers, ...])

plot_k_resolved(data[, kp, output_filename, ...])

Plot some k-resolved data.