-
sdr.Interpolator(rate: int, taps: 'kaiser' | 'linear' | 'zoh' | ArrayLike =
'kaiser', streaming: bool =False) Creates a polyphase FIR interpolating filter.
- Parameters:¶
- rate: int¶
The interpolation rate \(r\).
- taps: 'kaiser' | 'linear' | 'zoh' | ArrayLike =
'kaiser'¶ The multirate filter design specification.
"kaiser": The multirate filter is designed usingmultirate_taps()with argumentsrateand 1."linear": The multirate filter is designed to linearly interpolate between samples. The filter coefficients are a length-\(2r\) linear ramp \(\frac{1}{r} [0, ..., r-1, r, r-1, ..., 1]\)."zoh": The multirate filter is designed to be a zero-order hold. The filter coefficients are a length-\(r\) array of ones.npt.ArrayLike: The multirate filter feedforward coefficients \(h_i\).
- streaming: bool =
False¶ Indicates whether to use streaming mode. In streaming mode, previous inputs are preserved between calls to
__call__().