triqs.gfs.descriptors.Fourier

class triqs.gfs.descriptors.Fourier(G, *args, **kw)[source]

Bases: BaseBlock

Lazy Fourier transform between conjugate meshes.

Applying g_new << Fourier(g_old) runs the C++ Fourier transform from g_old’s mesh to g_new’s mesh. The transform direction (time → frequency or vice versa) is inferred from the mesh pair.

Parameters:
GGf or BlockGf

Source Green’s function.

*args, **kw

Forwarded to set_from_fourier() (e.g. tail moments for Matsubara → imaginary-time transforms).

Attributes

G

(Gf or BlockGf) Captured source Green’s function (inherited from BaseBlock).

args

(tuple) Positional arguments forwarded to set_from_fourier() at evaluation time.

kw

(dict) Keyword arguments forwarded to set_from_fourier() at evaluation time.

Methods

__call__(G2)

Run the Fourier transform from self.G into G2.

Examples

>>> from triqs.gfs import Fourier, Gf
>>> g_tau << Fourier(g_iw)