magnopy.experimental.plot_dispersion#
- magnopy.experimental.plot_dispersion(data, kp=None, output_filename=None, ylabel=None)[source]#
Plot some k-resolved data.
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.