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.


neuroconductor/eegUtils documentation built on Feb. 3, 2023, 5:33 p.m.