gftool.pole_gf_d1_z

gftool.pole_gf_d1_z(z, poles, weights)

First derivative of 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.

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:
gf_d1_z : (…) complex np.ndarray

Derivative of the Green’s function.

See also

gf_z