Contents
CrystalData
Dimer
FourStateConfig
crystal_from_cif()
read_poscar()
write_poscar()
get_mm_distances()
group_inequivalent()
get_distance_shells()
lattice_matrix()
frac_to_cart()
get_cartesian_coords()
expand_supercell()
check_coupling_spacing()
find_dimers()
find_symmetry_ops()
build_reference_bath()
generate_four_states()
find_unique_configs()
run_cif_analysis()
magmom_to_udn()
build_udn_lines()
find_instgen()
write_case_inst_files()
write_case_struct_files()
write_struct_file()
EnergyResult
extract_vasp_energy()
extract_wien2k_energy()
get_energy()
Formula
JResult
parse_report_formulas()
compute_j_values()
read_all_energies()
write_j_values_dat()
get_inequivalent_sites()
get_sublattice_bonds()
build_qmesh()
auto_qmesh()
build_jq_matrices()
compute_eigenvalues_all_q()
analyse_ordering()
get_spin_dirs_from_q0()
compute_tc()
compute_tc_lswt()
get_kpath()
compute_magnon_dispersion()
plot_magnon_bands()
print_report()
mag4.magnon
mag4.analysis
mag4.cli
Magnon band-structure plotting (matplotlib, optional).
Functions
plot_magnon_bands(magnon_bands, kpath, S, ...)
plot_magnon_bands
Plot the magnon band structure and save to <name>_magnon_bands.png.
<name>_magnon_bands.png
Returns the output path, or "" if matplotlib is unavailable.
""
str
magnon_bands (ndarray)
kpath (Dict)
S (float)
n_sub (int)
name (str)