classmethod sdr.IIR.ZerosPoles(zeros: ndarray, poles: ndarray, gain: float = 1.0, streaming: bool = False) Self

Creates an IIR filter from its zeros, poles, and gain.

Parameters:
zeros: ndarray

The zeros of the transfer function.

poles: ndarray

The poles of the transfer function.

gain: float = 1.0

The gain of the transfer function.

streaming: bool = False

Indicates whether to use streaming mode. In streaming mode, previous inputs are preserved between calls to filter().

Examples

See the IIR filters example.