triqs.gfs.descriptors.Fourier
- class triqs.gfs.descriptors.Fourier(G, *args, **kw)[source]
Bases:
BaseBlockLazy Fourier transform between conjugate meshes.
Applying
g_new << Fourier(g_old)runs the C++ Fourier transform fromg_old’s mesh tog_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.GintoG2.Examples
>>> from triqs.gfs import Fourier, Gf >>> g_tau << Fourier(g_iw)