fsl_bptf {fMRItools}R Documentation

bptf function from FSL

Description

Copy of bptf highpass filter from FSL. The results are very similar but not identical.

Usage

fsl_bptf(orig_data, HP_sigma = 2000, LP_sigma = NULL)

Arguments

orig_data

T \times V data matrix whose columns will be detrended

HP_sigma

The frequency parameter, sigma, for the highpass filter. Recommended HP_sigma: 1/(2*f*TR), where f is the cutoff filter in Hz and TR is the time resolution in seconds (See jiscmail link in function description). Default: 2000.

LP_sigma

The frequency parameter, sigma, for the lowpass filter.

Details

Sources: https://cpb-us-w2.wpmucdn.com/sites.udel.edu/dist/7/4542/files/2016/09/fsl_temporal_filt-15sywxn.m https://github.com/rordenlab/niimath/blob/master/src/coreFLT.c#L1935 https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=FSL;f6fd75a6.1709

Value

The data with detrended columns

References

Examples

fsl_bptf(matrix(rnorm(700), nrow=100))

[Package fMRItools version 0.6.0 Index]