gftool.pade.avg_no_neg_imag

gftool.pade.avg_no_neg_imag(z_out, z_in, *, valid_z=None, fct_z=None, coeff=None, threshold=1e-08, kind: gftool.pade.KindSelector)[source]

Average Pade filtering approximants with non-negative imaginary part.

This function wraps averaged, see averaged for the parameters.

Returns
averaged.x(N_in, N_out) complex ndarray

function evaluated at points z

averaged.err(N_in, N_out) complex ndarray

variance associated with the function values pade.x at points z

Other Parameters
thresholdfloat, optional

The numerical threshold, how large of an positive imaginary part is tolerated (default: 1e-8). np.infty can be given to accept all.