magnopy.io.plot_k_resolved#

magnopy.io.plot_k_resolved(data, kp=None, output_filename=None, ylabel=None)[source]#

Plot some k-resolved data.

Deprecated since version 0.2.0: Use magnopy.experimental.plot_dispersion() instead. magnopy.io.plot_k_resolved() will be removed in April of 2026.

If only the data are given, then an index of the omegas is used for abscissa (x axis).

Parameters:
data(N, M) array-like

Some k-resolved data. N (\(\ge 1\)) is the amount of kpoints. M is the number of data modes/entries. Expected to be given in meV.

kpwulfric.Kpoints, optional.

Instance of the wulfric.Kpoints class. It should be the same instance that were used in the preparation of the data.

output_filenamestr, optional

Name of the file for saving the image. If None, then the graph would be opened in the interactive matplotlib window.

ylabelstr, optional

Label for the ordinate (y axis). Do not include units, units are included automatically.