magnopy.io.plot_k_resolved#
- magnopy.io.plot_k_resolved(data, kp=None, output_filename=None, ylabel=None)[source]#
Plots 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
dataare 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.
- kp
wulfric.Kpoints, optional. Instance of the
wulfric.Kpointsclass. It should be the same instance that were used in the preparation of thedata.- 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.