tightbinder.topology.plot_entanglement_spectrum#
- plot_entanglement_spectrum(spectrum, system, ax=None, fontsize=10, title=None, markersize=5, color='b')[source]#
Routine to plot the entanglement spectrum as a function of k. CAREFUL: This routine is not made to deal with any set of kpoints, rather it is intended to be used with a set of kpoints along a given line (1D).
- Parameters:
spectrum (
ndarray) – Array with the entanglement spectrum.system (
System) – System where we compute the entanglement spectrum.ax (
Axes) – Matplotlib Axes object to plot in. Defaults to None.fontsize (
int) – Value to change the fontsize of the plot. Defaults to 10.title (
str) – Title of the plot. Defaults to empty string.markersize (
int) – Size of the markers of the plot. Defaults to 5.color (
str) – Color of the markers. Defaults to blue.
- Return type: