View source: R/pipeline-lpfilt.R
lpfilt_pupil | R Documentation |
This function lowpass filters pupil data using a Butterworth filter.
This function is called by the exposed wrapper lpfilt()
lpfilt_pupil(x, prev_op, wp, ws, rp, rs, fs, plot_freqz)
x |
A data frame containing pupil data |
prev_op |
The name of the previous operation in the pipeline |
wp |
The end of passband frequency in Hz (desired lowpass cutoff) |
ws |
The start of stopband frequency in Hz (required lowpass cutoff) |
rp |
Required maximal ripple within passband in dB |
rs |
Required minimal attenuation within stopband in dB |
fs |
The sample rate of the data |
plot_freqz |
A flag to indicate whether to display the filter frequency response |
A vector of filtered pupil data
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.