Filter a signal
filter_signal(
signal,
filter = "sgolay",
order = 2,
window_length = NULL,
cutoff_freq = NULL,
sampling_freq = NULL,
type = "low",
apply = 1
)
The filtered signal.
Signal to filter.
Type of filter (default is "sgolay"
, or "butter"
).
Order of the filter.
Window length of the Savitzky-Golay filter.
Cut-off frequency of the Butterworth filter.
Sampling frequency of the signal.
Butterworth band type (default is "low"
).
Apply the filter N times (default is 1
).