gftool.basis.pole.PoleGf
- class gftool.basis.pole.PoleGf(poles: ndarray, residues: ndarray)[source]
Fermionic Green’s function given by finite number of
polesandresidues.- 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_ret_t(tt)Evaluate the retarded time Green's function.
eval_tau(tau, beta)Evaluate the imaginary time Green's function.
eval_z(z)Evaluate the function at z.
from_moments(moments[, width])Generate instance matching high-frequency
moments.from_tau(gf_tau, n_pole, beta[, moments, ...])Generate instance fitting
gf_tau.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.
occ(beta)Calculate the occupation number.
Attributes
Alias for field number 0
Alias for field number 1