triqs.gfs.descriptors.Flat

class triqs.gfs.descriptors.Flat(half_bandwidth)[source]

Bases: Base

Hilbert transform of a flat density of states with cutoff.

\[g(z) = \int \frac{A(\omega)}{z-\omega}\, d\omega, \qquad A(\omega) = \frac{\theta(D^2 - \omega^2)}{2D}.\]

Supports Matsubara and real-frequency meshes.

Parameters:
half_bandwidthfloat

Half-bandwidth \(D\).

Methods

__call__(G)

Fill G.data with the flat-DOS Hilbert transform on its mesh.

Examples

>>> from triqs.gfs import Flat
>>> g << Flat(half_bandwidth=2.0)