simple_filt: FIR Hamming windowed-sinc filter

Description Usage Arguments Author(s)

View source: R/filter_commands.R

Description

Filters data using an Hamming windowed-sinc FIR filer. An implementation of Andreas Widmann's firfilt plugin for EEGLAB.

Usage

1
2
simple_filt(data, low_edge = NULL, high_edge = NULL, filt_order = NULL,
  notch = FALSE, minphase = FALSE, srate = NULL)

Arguments

data

Data to be filtered.

low_edge

Low passband edge. Specify ONLY this for a high-pass filter.

high_edge

High passband edge. Specify ONLY this for a low-pass filter.

filt_order

Length of the filter in samples. If not specified, will be automatically estimated.

notch

Convert to a notch filter. Defaults to FALSE (bandpass filter). Only relevant if two cut-offs specified.

minphase

Minimum-phase filter. Not yet implemented.

srate

Sampling rate.

Author(s)

Andreas Widmann. Ported to R by Matt Craddock matt@mattcraddock.com


craddm/firfiltR documentation built on May 22, 2019, 12:41 p.m.