- property sdr.Resampler.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 P} .\]Examples¶
In [1]: fir = sdr.Resampler(4, 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, 4, 8], [1, 5, 9], [2, 6, 0], [3, 7, 0]])