triqs.gfs.gf_fnt.gf_fnt_misc

Auxiliary Green’s function helpers: mesh-conversion setters, Pade continuation, imaginary-time tools, and symmetry predicates.

Functions

enforce_discontinuity

Enforce a prescribed jump at \(\tau = 0\) for a Legendre Green's function.

is_gf_hermitian

Test whether a Green's function satisfies the hermitian symmetry up to a tolerance \(\epsilon\).

is_gf_real_in_tau

Test whether a Matsubara Green's function corresponds to a real imaginary-time Green's function.

rebinning_tau

Rebin an imaginary-time Green's function onto a coarser uniform mesh.

set_from_imfreq

Project a Matsubara Green's function onto the Legendre basis of the output.

set_from_imtime

Project an imaginary-time Green's function onto the Legendre basis of the output.

set_from_legendre

Project a Legendre Green's function onto the Matsubara mesh of the output.

set_from_pade

Analytically continue a Matsubara Green's function to the real-frequency axis using a Pade approximant.

tau_L2_norm

Calculate the \(L^2\) norm of a DLR Green's function.