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)

Arguments

orig_data

T \times V data matrix whose columns will be detrended

HP_sigma

The frequency parameter for the highpass 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/core32.c

Value

The data with detrended columns

References

Examples

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

[Package fMRItools version 0.4.7 Index]