pydsm.NTFdesign.legacy.q0_from_filter_ir¶
- pydsm.NTFdesign.legacy.q0_from_filter_ir(P, ir)¶
Legacy version of NTFDesign.q0_weighting()
Legacy method based on correlation for the computation of the description matrix for the weighting function used in FIR NTF design.
Parameters: P : int
order of the FIR to be eventually synthesized
ir : array_like
output filter description impulse response
Returns: q0 : ndarray
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.