class sdr.FarrowResampler

A cubic Farrow arbitrary resampler.

References

Examples

See the Farrow arbitrary resampler example.

Constructors

FarrowResampler(streaming: bool = False)

Creates a new Farrow arbitrary resampler.

Methods

resample(x: ndarray, rate: float) ndarray

Resamples the input signal by the given arbitrary rate.

reset(state: np.ndarray | None = None)

Streaming-mode only: Resets the filter state and fractional sample index.

Properties

property order : int

Returns the order of the filter.

property streaming : bool

Returns whether the filter is in streaming mode.

property taps : ndarray

Returns the Farrow filter taps.