gftool.fourier.tt2z_pade

gftool.fourier.tt2z_pade(tt, gf_t, z, degree=-1, pade=<function pade>, quad='trapz', **kwds)[source]

Fourier-Padé transform of the real-time Green’s function gf_t.

The function requires an equidistant tt.

Parameters:
tt(Nt) float np.ndarray

The equidistant points for which the Green’s function gf_t is given.

gf_t(…, Nt) complex np.ndarray

Green’s function at time points tt.

z(…, Nz) complex np.ndarray

Frequency points for which the Laplace transformed Green’s function should be evaluated.

Returns:
(…, Nz) complex np.ndarray

Laplace transformed Green’s function for complex frequencies z.

Other Parameters:
degreeint, optional

Asymptotic degree \(d\) of the Green’s function \(G(z)∼z^d\) for \(abs(z)→∞\) (default: -1).

pade{gftool.hermpade.pade, gftool.hermpade.pader}

Padé algorithm that is used.

quad{‘trapz’, ‘simps’}

Quadrature to discretize the Laplace integral.

**kwds

Optional key-word arguments passed to pade.

Raises:
ValueError

If the time points tt are not equidistant.

See also

gftool.hermpade.pade
gftool.hermpade.pader
tt2z_herm2

Fourier-Padé using square Hermite-Padé approximant.

tt2z_trapz

Plain implementation using trapezoidal rule.

tt2z_lin

Laplace integration using Filon’s method.