parse_filt_freqs: Parse filter frequency input

View source: R/filtering.R

parse_filt_freqsR Documentation

Parse filter frequency input

Description

Parses the frequencies input by the user, converting them to a fraction of the sampling rate and setting the filter type (low-pass, high-pass, band-pass, band-stop) appropriately.

Usage

parse_filt_freqs(low_freq, high_freq, srate, method)

Arguments

low_freq

low frequency cutoff (Hz)

high_freq

High frequency cutoff (Hz)

srate

Sampling rate (Hz)

method

"iir" or "fir" method.


craddm/eegUtils documentation built on March 24, 2022, 9:17 a.m.