sdr.FIRInterpolator.filter(x: ArrayLike, mode: 'full' | 'valid' | 'same' = 'full') ndarray

Filters and interpolates the input signal \(x[n]\) with the FIR filter.

Parameters:
x: ArrayLike

The input signal \(x[n]\) with sample rate \(f_s\).

mode: 'full' | 'valid' | 'same' = 'full'

The non-streaming convolution mode. See scipy.signal.convolve() for details. In streaming mode, \(N\) inputs always produce \(N r\) outputs.

Returns:

The filtered signal \(y[n]\) with sample rate \(f_s r\).