From 805509d5c8a35693e7b28ac5ef45b6cb48bfa1c1 Mon Sep 17 00:00:00 2001 From: cmaumet Date: Tue, 13 Feb 2024 16:44:51 +0100 Subject: [PATCH] batch up to smooth --- narps_open/pipelines/matlabbatch_R5K7.m | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/narps_open/pipelines/matlabbatch_R5K7.m b/narps_open/pipelines/matlabbatch_R5K7.m index 6d091fe6..c22eaf97 100644 --- a/narps_open/pipelines/matlabbatch_R5K7.m +++ b/narps_open/pipelines/matlabbatch_R5K7.m @@ -134,13 +134,20 @@ matlabbatch{end+1}.spm.spatial.normalise.write.subj.def = {'transfo.nii'}; matlabbatch{end}.spm.spatial.normalise.write.subj.resample = { - 'ABS_PATH/narps_open_pipelines/data/original/ds001734/sub-001/func/sub-001_task-MGT_run-01_bold.nii' - 'ABS_PATH/narps_open_pipelines/data/original/ds001734/sub-001/func/sub-001_task-MGT_run-02_bold.nii' - 'ABS_PATH/narps_open_pipelines/data/original/ds001734/sub-001/func/sub-001_task-MGT_run-03_bold.nii' - 'ABS_PATH/narps_open_pipelines/data/original/ds001734/sub-001/func/sub-001_task-MGT_run-04_bold.nii' + 'ABS_PATH/narps_open_pipelines/data/original/ds001734/sub-001/func/usub-001_task-MGT_run-01_bold.nii' + 'ABS_PATH/narps_open_pipelines/data/original/ds001734/sub-001/func/usub-001_task-MGT_run-02_bold.nii' + 'ABS_PATH/narps_open_pipelines/data/original/ds001734/sub-001/func/usub-001_task-MGT_run-03_bold.nii' + 'ABS_PATH/narps_open_pipelines/data/original/ds001734/sub-001/func/usub-001_task-MGT_run-04_bold.nii' 'ABS_PATH/narps_open_pipelines/data/original/ds001734/sub-001/func/sub-001_task-MGT_run-02_sbref.nii' 'ABS_PATH/narps_open_pipelines/data/original/ds001734/sub-001/func/sub-001_task-MGT_run-03_sbref.nii' 'ABS_PATH/narps_open_pipelines/data/original/ds001734/sub-001/func/sub-001_task-MGT_run-04_sbref.nii' }; % 3) spatial smoothing +matlabbatch{end+1}.spm.spatial.smooth.data = { + 'ABS_PATH/narps_open_pipelines/data/original/ds001734/sub-001/func/usub-001_task-MGT_run-01_bold.nii' + 'ABS_PATH/narps_open_pipelines/data/original/ds001734/sub-001/func/usub-001_task-MGT_run-02_bold.nii' + 'ABS_PATH/narps_open_pipelines/data/original/ds001734/sub-001/func/usub-001_task-MGT_run-03_bold.nii' + 'ABS_PATH/narps_open_pipelines/data/original/ds001734/sub-001/func/usub-001_task-MGT_run-04_bold.nii' +}; +matlabbatch{end}.spm.spatial.smooth.fwhm = [8 8 8];