Apply Notch Filter to Analog Trace Data

notch_filter(s, sample_rate, lb, ub, domain = 1)

## Arguments

s signal in time or frequency domain signal sample rate filter lower bound (Hz) filter upper bound (Hz) 1 if the input signal is in the time domain, 0 if it is in the frequency domain

## Value

filtered signal in time domain

## Details

This function is alternative R version of notch filter