Compute the transfer function coefficients of an IIR narrow-band notch filter.
pei_tseng_notch(w, bw)
Arguments
w: vector of critical frequencies of the filter. Must be between 0 and 1 where 1 is the Nyquist frequency.
bw: vector of bandwidths. Bw should be of the same length as w.
Returns
List of class Arma with list elements:
b: moving average (MA) polynomial coefficients
a: autoregressive (AR) polynomial coefficients
Details
The filter construction is based on an all-pass which performs a reversal of phase at the filter frequencies. Thus, the mean of the phase-distorted and the original signal has the respective frequencies removed.