scipy.signal.bilinear_zpk¶
-
scipy.signal.
bilinear_zpk
(z, p, k, fs)[source]¶ Return a digital IIR filter from an analog one using a bilinear transform.
Transform a set of poles and zeros from the analog s-plane to the digital z-plane using Tustin’s method, which substitutes
(z-1) / (z+1)
fors
, maintaining the shape of the frequency response.- Parameters
- zarray_like
Zeros of the analog filter transfer function.
- parray_like
Poles of the analog filter transfer function.
- kfloat
System gain of the analog filter transfer function.
- fsfloat
Sample rate, as ordinary frequency (e.g. hertz). No prewarping is done in this function.
- Returns
- zndarray
Zeros of the transformed digital filter transfer function.
- pndarray
Poles of the transformed digital filter transfer function.
- kfloat
System gain of the transformed digital filter.
Notes
New in version 1.1.0.