tightbinder.observables.plot_dos_kpm#
- plot_dos_kpm(system, npoints=200, nmoments=100, r=10, ax=None)[source]#
Routine to plot the density of states using the KPM.
- Parameters:
system (
System) – System whose DoS we want to obtain and plot.npoints (
int) – Number of points used to sample the DoS. Defaults to 200.nmoments (
int) – Number of moments in KPM expansion. Defaults to 100.r (
int) – Number of samples for stochastic evaluation of trace in KPM. Defaults to 100.ax (
Axes) – Optional Axes object to draw the plot in.
- Return type: