pydsm.NTFdesign.legacy.q0_from_filter_ir

pydsm.NTFdesign.legacy.q0_from_filter_ir(P, ir)

Legacy version of pydsm.NTFdesign.weighting.q0_weighting()

Legacy method based on correlation for the computation of the description matrix for the weighting function used in FIR NTF design.

Parameters:
Pint

order of the FIR to be eventually synthesized

irarray_like

output filter description impulse response

Returns:
q0ndarray

the first row of the matrix Q used in the NTF optimization

See also

scipy.integrate.quad

integrator used internally. For the meaning of the integrator parameters.

Notes

The Q matrix being synthesized has (P+1) times (P+1) entries.