-
sdr.PolyphaseFIR.__call__(x: ArrayLike, mode: 'rate' | 'full' =
'rate'
) NDArray Filters the input signal
with the polyphase FIR filter.- Parameters:¶
- x: ArrayLike¶
The input signal
with sample rate and length .- mode: 'rate' | 'full' =
'rate'
¶ The non-streaming convolution mode.
"rate"
: The output signal has length , proportional to the resampling rate . Output sample 0 aligns with input sample 0."full"
: The full convolution is performed. The output signal has length , where is the order of the prototype filter. Output sampledelay
aligns with input sample 0.
In streaming mode, the
"full"
convolution is performed. However, for each input samples only output samples are produced per call. A final call toflush()
is required to flush the filter state.
- Returns:¶
The filtered signal
with sample rate . The output length is dictated by themode
argument.