gftool.pole_gf_z
- gftool.pole_gf_z(z, poles, weights)
Green’s function given by a finite number of poles.
To be a Green’s function, np.sum(weights) has to be 1 for the 1/z tail or respectively the normalization.
- Parameters:
- z(…) complex array_like
Green’s function is evaluated at complex frequency z.
- poles, weights(…, N) float array_like or float
The position and weight of the poles.
- Returns:
- (…) complex np.ndarray
Green’s function.
See also
gf_d1_z
First derivative of the Green’s function.
gf_tau
Corresponding fermionic imaginary time Green’s function.
gt.pole_gf_tau_b
Corresponding bosonic imaginary time Green’s function.