View source: R/fmri_utility_fx.R
fir1Bandpass | R Documentation |
Apply a FIR-1 bandpass filter a signal. Can low- or high-pass filter by specifying 0 for low or >= Nyquist for high.
fir1Bandpass(
x,
TR = 2,
low = 0.009,
high = 0.08,
n = 250,
plotFilter = FALSE,
forward_reverse = TRUE,
padx = 0,
detrend = 1
)
x |
The time series to be filtered |
TR |
The sampling frequency in seconds |
low |
The lower filter cutoff in Hz. Fluctuations below this frequency will be filtered out |
high |
The upper filter cutoff in Hz. Fluctuations above this frequency will be filtered out |
n |
The order of the filter coefficients. Should probably leave this alone in general |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.