sdr.IIR.__str__() str

Returns a human-readable string representation of the object.

Examples

In [1]: zero = 0.6

In [2]: pole = 0.8 * np.exp(1j * np.pi / 8)

In [3]: iir = sdr.IIR.ZerosPoles([zero], [pole, pole.conj()])

In [4]: print(iir)
sdr.IIR:
  order: 2
  b_taps: (2,) shape
    [1.0, -0.6]
  a_taps: (3,) shape
    [1.0, -1.478207252018059, 0.6400000000000001]
  zeros: (1,) shape
    [0.6]
  poles: (2,) shape
    [(0.7391036260090295+0.3061467458920719j), (0.7391036260090295-0.3061467458920719j)]
  streaming: False