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 : bool, optional
ftype : str, optional
output : {‘ba’, ‘zpk’}, optional
|
---|---|
Returns : | b, a : ndarray, ndarray
z, p, k : ndarray, ndarray, float
|