N : int
Wn : array_like
A scalar or length-2 sequence giving the critical frequencies.
For digital filters, Wn is normalized from 0 to 1, where 1 is the
Nyquist frequency, pi radians / sample. (Wn is thus in
half-cycles / sample.)
For analog filters, Wn is in radians / second.
rp : float, optional
For Chebyshev and elliptic filters, provides the maximum ripple
in the passband. (dB)
rs : float, optional
For Chebyshev and elliptic filters, provides the minimum attenuation
in the stop band. (dB)
btype : {‘bandpass’, ‘lowpass’, ‘highpass’, ‘bandstop’}, optional
The type of filter. Default is ‘bandpass’.
analog : bool, optional
When True, return an analog filter, otherwise a digital filter is
returned.
ftype : str, optional
The type of IIR filter to design:
- elliptic : ‘ellip’
- Butterworth : ‘butter’
- Chebyshev I : ‘cheby1’
- Chebyshev II: ‘cheby2’
- Bessel : ‘bessel’
output : {‘ba’, ‘zpk’}, optional
Type of output: numerator/denominator (‘ba’) or pole-zero (‘zpk’).
Default is ‘ba’.
|