sdr.FarrowResampler.flush(rate: float) NDArray

Flushes the filter state by passing zeros through the filter. Only useful when using streaming mode.

Parameters:
rate: float

The resampling rate \(r\).

Returns:

The remaining resampled signal \(y[n]\).

Examples

See the Farrow arbitrary resampler example.