-
sdr.plot.zeros_poles(filter: FIR | IIR | ArrayLike | tuple[ArrayLike, ArrayLike], ax: plt.Axes | None =
None
, **kwargs) Plots the zeros and poles of the filter.
- Parameters:¶
Examples
See the FIR filters example.
In [1]: h_srrc = sdr.root_raised_cosine(0.5, 10, 10) In [2]: plt.figure(); \ ...: sdr.plot.zeros_poles(h_srrc) ...:
See the IIR filters example.
In [3]: zero = 0.6; \ ...: pole = 0.8 * np.exp(1j * np.pi / 8); \ ...: iir = sdr.IIR.ZerosPoles([zero], [pole, pole.conj()]) ...: In [4]: plt.figure(); \ ...: sdr.plot.zeros_poles(iir) ...: