This function applies a bandpass filter to a signal. It first normalizes the high and low frequencies based on the Nyquist frequency, then creates a Butterworth filter using the `signal::butter` function, and finally applies the filter to the signal using `signal::filtfilt`.
bandpass(x, high, low, sRate, order = 5)
A numeric vector representing the signal to be filtered.
The high cutoff frequency for the bandpass filter.
The low cutoff frequency for the bandpass filter.
The sampling rate of the signal.
The order of the Butterworth filter, defaulting to 5.
A numeric vector representing the filtered signal.
If applicable, add references here.