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

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

Parameters:
x: ArrayLike

The input signal \(x[n]\).

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

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

Returns:

The filtered signal \(y[n]\).

Examples

See the FIR filters example.