arielletambini / denoiser

Nuisance removal tool for fMRI data
Apache License 2.0
53 stars 18 forks source link

Decimate the signal after low-pass filetering #17

Open chrisgorgo opened 6 years ago

chrisgorgo commented 6 years ago

Since low-pass filtering changes the effective TR it might be worth decimating (downsampling) the output to save space. This can be performed (in one step together with low-pass filtering) by one of the following functions:

Important: the output file header information needs to be updated with the new effective TR

chrisgorgo commented 6 years ago

Started a discussion on NeuroStars about potential drawbacks of such approach: https://neurostars.org/t/decimate-downsample-fmri-data-in-time-after-low-pass-filtering/1173

chrisgorgo commented 6 years ago

Downsampling can also be done independently of filtering with https://docs.scipy.org/doc/scipy-0.15.1/reference/generated/scipy.ndimage.interpolation.zoom.html (with prefilter=False).