Skip to contents

Wraps signal::butter style IIR notch via the signal package's iirnotch / filtfilt. Falls back to a stop with NotYetPorted if signal is unavailable.

Usage

morie_dsp_notch(x, freq, fs, q = 30)

Arguments

x

Numeric vector.

freq

Notch centre frequency (Hz).

fs

Sampling frequency (Hz).

q

Quality factor. Default 30.

Value

Filtered vector, length(x).

References

Rangayyan & Krishnan (2015), Ch. 3, sec. 3.7.