magnopy.io.plot_k_resolved#

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

Plot some k-resolved data.

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.

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).