custom_filter: Custom filtering.

Description Usage Arguments Author(s)

View source: R/filter_commands.R

Description

This function supports use of different transition bandwidths for low- and high-pass cutoffs respectively. Note that since it is intended to be used carefully, it has few defaults.

Usage

1
2
custom_filter(data, f, tbw = NULL, win_type = "hamming", beta = NULL,
  pb_dev = 2e-04, type, srate = NULL)

Arguments

data

Data to be filtered. Wide format expected.

f

Cutoff frequency/ies

tbw

Transition bandwidth(s).

win_type

Window type.

beta

Required if window type is Kaiser

pb_dev

Required if window type is Kaiser

type

Filtering type - "highpass", "lowpass", "bandpass", "bandstop"

srate

Sampling rate (required if data is not of class "eeg_data").

Author(s)

Matt Craddock matt@mattcraddock.com


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