gftool.basis.pole.gf_z
- gftool.basis.pole.gf_z(z, poles, weights)[source]
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.