gftool.basis.pole.PoleFct

class gftool.basis.pole.PoleFct(poles: ndarray, residues: ndarray)[source]

Function given by finite number of simple poles and residues.

Parameters:
poles, residues(…, N) complex np.ndarray

Poles and residues of the function.

__init__(*args, **kwargs)

Methods

__init__(*args, **kwargs)

count(value, /)

Return number of occurrences of value.

eval_z(z)

Evaluate the function at z.

from_moments(moments[, width])

Generate instance matching high-frequency moments.

from_z(z, gf_z, n_pole[, moments, width, weight])

Generate instance fitting gf_z.

index(value[, start, stop])

Return first index of value.

moments(order)

Calculate high-frequency moments of order.

Attributes

poles

Poles of the function.

residues

Residues corresponding to the poles.