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: KindSelector)[source]
Average Padé filtering approximants with non-negative imaginary part.
This function wraps
averaged
, seeaveraged
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.