scipy.signal.sos2zpk#
- scipy.signal.sos2zpk(sos)[source]#
Return zeros, poles, and gain of a series of second-order sections
- Parameters:
- sosarray_like
Array of second-order filter coefficients, must have shape
(n_sections, 6)
. Seesosfilt
for the SOS filter format specification.
- Returns:
- zndarray
Zeros of the transfer function.
- pndarray
Poles of the transfer function.
- kfloat
System gain.
Notes
The number of zeros and poles returned will be
n_sections * 2
even if some of these are (effectively) zero.New in version 0.16.0.