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

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

Parameters:
zeros: ArrayLike

The zeros of the transfer function.

poles: ArrayLike

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 and outputs are preserved between calls to __call__().

Examples

See the IIR filters example.