Bandpass and sorted mean filter the given signal

get_filtered_signal(x, sampling_rate, mean_filter_order = 65, method = "acf")

Arguments

x

A time series numeric data

sampling_rate

The sampling rate (fs) of the signal

mean_filter_order

The number of samples used in the sliding window for the mean filtering function

method

The algorithm used to estimate the heartrate, because the preprocessing steps are different for each. method can be any of 'acf','psd' or 'peak' for algorithms based on autocorrelation, power spectral density and peak picking respectively

Value

The filtered time series data