sdr.Differentiator(order: int = 20, window: str | float | tuple | None = 'blackman', streaming: bool = False)

Creates a differentiator FIR filter.

Parameters:
order: int = 20

The order of the FIR differentiator \(N\). The filter length is \(N + 1\). Increasing the filter order increases the bandwidth of the differentiator.

window: str | float | tuple | None = 'blackman'

The SciPy window definition. See scipy.signal.windows.get_window() for details. If None, no window is applied.

streaming: bool = False

Indicates whether to use streaming mode. In streaming mode, previous inputs are preserved between calls to __call__().

Examples

See the FIR filters example.