mag4.magnon.plot

Magnon band-structure plotting (matplotlib, optional).

Functions

plot_magnon_bands(magnon_bands, kpath, S, ...)

Plot the magnon band structure and save to <name>_magnon_bands.png.

mag4.magnon.plot.plot_magnon_bands(magnon_bands, kpath, S, n_sub, name)[source]

Plot the magnon band structure and save to <name>_magnon_bands.png.

Returns the output path, or "" if matplotlib is unavailable.

Return type:

str

Parameters: