Copy of highpass filter as implemented by bptf
in FSL. The results are very
similar but not identical.
fsl_bptf(orig_data, HP_sigma = 2000)
Arguments
orig_data |
\(T\) by \(V\) data matrix whose columns will be detrended |
---|
HP_sigma |
The frequency parameter for the highpass filter |
---|
Value
The data with detrended columns
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
References
Jenkinson, M., Beckmann, C. F., Behrens, T. E. J., Woolrich, M. W. & Smith, S. M. FSL. NeuroImage 62, 782-790 (2012).