Narrowing down searchlight space

Dear TDT users/developers,

I’m trying to conduct a searchlight analysis for an event-related fMRI task that includes two interested conditions. I’m wondering if it’s possible to narrow down the searchlight space by adding an image of ROIs that the searchlight will be conducted? Thank you very much!

Best,
Ran

Dear Ran

Yes, you can constrain the searchlight space by specifying:
cfg.files.mask = ‘path/to/your/maskimage.nii’ % replace with correct path
This mask must have the same orientation and dimension as your images.
Check also demo\demo1_decoding_tutorial_filled.m

Best
Matthias

1 Like