def dmrg_postprocessing.Data.PlotErrorEnergyPerSite (   self,
  which = 'abs',
  compare_with = 'min',
  kwargs 
)

Plots the error in the energy per site of the superblock Hamiltonian as a function of DMRG steps.

Kwargs will be passed to the plt.plot function.

Examples

1 >>> data = dmrg.Data("data_dir",jobs_dir="/tmp/data/",label="Data1")
2 >>> data.PlotErrorEnergyPerSite(marker='.',which='rel',color='r')
3 >>> plt.show()
Parameters
whichShow either the absolute 'abs' or relative 'rel' error
compare_withCompare against the minimum 'min' or 'last' obtained value **kwargs: keyword arguments to be passed to plt.semilogy
Exceptions
ValueErrorWhen options are not matched

Definition at line 239 of file dmrg_postprocessing.py.

This site was generated by Sphinx using Doxygen with a customized theme from doxygen-bootstrapped.