Complete IIR digital and analog filter design.
Given passband and stopband frequencies and gains construct an analog or digital IIR filter of minimum order for a given basic type. Return the output in numerator, denominator (‘ba’) or pole-zero (‘zpk’) form.
Parameters : | wp, ws : float
gpass : float
gstop : float
analog : int, optional
ftype : str, optional
output : [‘ba’, ‘zpk’], optional
|
---|---|
Returns : | b, a : :
z, p, k : Zeros, poles, and gain of the IIR filter. Only returned if ``output=’zpk’``. : |