property sdr.Decimator.taps : NDArray

The prototype feedforward taps \(h_i\).

Notes

The prototype feedforward taps \(h_i\) are the feedforward taps of the FIR filter before polyphase decomposition. The polyphase feedforward taps \(h_{i, j}\) are the feedforward taps of the FIR filter after polyphase decomposition.

The polyphase feedforward taps \(h_{i, j}\) are related to the prototype feedforward taps \(h_i\) by

\[h_{i, j} = h_{i + j r} .\]

Examples

In [1]: fir = sdr.Decimator(3, np.arange(10))

In [2]: fir.taps
Out[2]: array([0, 1, 2, 3, 4, 5, 6, 7, 8, 9])

In [3]: fir.polyphase_taps
Out[3]: 
array([[0, 3, 6, 9],
       [1, 4, 7, 0],
       [2, 5, 8, 0]])