triqs.gf.backwd_compat.gf_imfreq.GfImFreq.total_density

GfImFreq.total_density(*args, **kwargs)

Compute total density.

Returns:

density – Total density of the Green’s function.

Return type:

float

Notes

Only implemented for single mesh Green’s function with a, Matsubara, real-frequency, or Legendre mesh.