descriptors are simple objects that describe a function of frequencies and permits to compute it with its high frequencies expansion.

They can be combined into simple expressions. Example:

from import GfReFreq, Omega, Wilson, inverse
import numpy

eps_d,t  = 0.3, 0.2

# Create the real-frequency Green's function and initialize it
g = GfReFreq(indices = ['s','d'], window = (-2, 2), n_points = 1000, name = "$G_\mathrm{s+d}$")
g['d','d'] = Omega - eps_d
g['d','s'] = t
g['s','d'] = t
g['s','s'] = inverse( Wilson(1.0) )



The function \(\omega \rightarrow \omega\). If used with Matsubara Green’s functions, the corresponding class member is called iOmega_n.


The Hilbert transform of a flat density of states, with cut-off

\[g(z) = \int \frac{A(\omega)}{z-\omega} d\omega\]

where \(A(\omega) = \theta( D^2 - \omega^2)/(2D)\).

(Only works in combination with frequency Green’s functions.)


Stores a python function

If the Green’s function is defined on an array of points \(x_i\), then it will be initialized to \(F(x_i)\).

class, chem_potential=0.0)[source]

Hilbert transform of a semicircular density of states, i.e.

\[g(z) = \int \frac{A(\omega)}{z-\omega} d\omega\]

where \(A(\omega) = \theta( D - |\omega|) 2 \sqrt{ D^2 - \omega^2}/(\pi D^2)\).

(Only works in combination with frequency Green’s functions.)