fmriprep icon indicating copy to clipboard operation
fmriprep copied to clipboard

Option for custom cutoff frequency in high pass filter

Open zkhan12 opened this issue 5 years ago • 2 comments

Hey, Currently the cosine basis for the high pass filter cutoff is set at 0.008 Hz. There could be an option to specify a user defined cutoff for this filter.

zkhan12 avatar Feb 04 '20 19:02 zkhan12

(I asked zkhan12 to open this issue/pull request). The use case for this would be for variable trial(block) lengths for task fmri. The length of the block determines what a reasonable high pass filter would be. The choice of high pass filter can be "wrong" if the frequency of the block is lower than the high pass filter, removing the activation of the block.

If there was more structure around task events in the bids specification, then perhaps the frequency of blocks could be determined and a high-pass filter could be chosen algorithmically.

ref: mit mindhive temporal filtering

jdkent avatar Feb 05 '20 03:02 jdkent

If I searched correctly, changing the 128s default of the high-pass filter is still not supported by fmriprep. I would love for this feature to be implemented, as it would be really useful to directly be able to (a) use the drift regressor and (b) compCor regressors.

MaurizioSicorello avatar Jul 31 '24 10:07 MaurizioSicorello