wanderine / BROCCOLI

BROCCOLI: Software for Fast fMRI Analysis on Many-Core CPUs and GPUs
GNU General Public License v3.0
113 stars 38 forks source link

nipype: added RandomiseGroupLevel in new file 'stats.py' #55

Open mmbannert opened 3 years ago

mmbannert commented 3 years ago

Dear Anders,

I am including BROCCOLI in my nipype workflows and I noticed that BROCCOLI has not provided an interfaces with "RandomiseGroupLevel".

Since there are only interfaces for preprocessing programs (smoothing, motion correction...) in a separate file called preprocess.py, I figured I should keep the new interface class in a separate file, which I called stats.py.

Basically I created the new interface in a way that is as similar as possible to the style in which the old interfaces had been created to keep things straightforward and simple. I have tested the interface by performing sign flip tests and found no errors.

Cheers, Michael

PS: The only feature I miss about RandomiseGroupLevel compared to FSL's randomise is the TFCE functionality ;) BROCCOLI says that "TFCE is currently turned off"