%----------------------------------------------------------------------- % Job saved on 06-Sep-2018 14:33:10 by cfg_util (rev $Rev: 6942 $) % spm SPM - SPM12 (7219) %----------------------------------------------------------------------- matlabbatch{1}.cfg_basicio.file_dir.dir_ops.cfg_named_dir.name = 'Subject'; matlabbatch{1}.cfg_basicio.file_dir.dir_ops.cfg_named_dir.dirs = {''}; matlabbatch{2}.cfg_basicio.file_dir.dir_ops.cfg_cd.dir(1) = cfg_dep('Named Directory Selector: Subject(1)', substruct('.','val', '{}',{1}, '.','val', '{}',{1}, '.','val', '{}',{1}, '.','val', '{}',{1}), substruct('.','dirs', '{}',{1})); matlabbatch{3}.cfg_basicio.file_dir.dir_ops.cfg_mkdir.parent(1) = cfg_dep('Named Directory Selector: Subject(1)', substruct('.','val', '{}',{1}, '.','val', '{}',{1}, '.','val', '{}',{1}, '.','val', '{}',{1}), substruct('.','dirs', '{}',{1})); matlabbatch{3}.cfg_basicio.file_dir.dir_ops.cfg_mkdir.name = 'analysis_2018'; matlabbatch{4}.cfg_basicio.file_dir.file_ops.cfg_named_file.name = 'EPI images'; matlabbatch{4}.cfg_basicio.file_dir.file_ops.cfg_named_file.files = { '' '' '' }'; matlabbatch{5}.spm.tools.tsdiffana_tools{1}.tsdiffana_timediff.imgs{1}(1) = cfg_dep('Named File Selector: EPI images(1) - Files', substruct('.','val', '{}',{4}, '.','val', '{}',{1}, '.','val', '{}',{1}, '.','val', '{}',{1}), substruct('.','files', '{}',{1})); matlabbatch{5}.spm.tools.tsdiffana_tools{1}.tsdiffana_timediff.imgs{2}(1) = cfg_dep('Named File Selector: EPI images(2) - Files', substruct('.','val', '{}',{4}, '.','val', '{}',{1}, '.','val', '{}',{1}, '.','val', '{}',{1}), substruct('.','files', '{}',{2})); matlabbatch{5}.spm.tools.tsdiffana_tools{1}.tsdiffana_timediff.imgs{3}(1) = cfg_dep('Named File Selector: EPI images(3) - Files', substruct('.','val', '{}',{4}, '.','val', '{}',{1}, '.','val', '{}',{1}, '.','val', '{}',{1}), substruct('.','files', '{}',{3})); matlabbatch{5}.spm.tools.tsdiffana_tools{1}.tsdiffana_timediff.vf = false; matlabbatch{6}.spm.tools.tsdiffana_tools{1}.tsdiffana_tsdiffplot.tdfn(1) = cfg_dep('Analyse Time Series: Timeseries Analysis Data File (1)', substruct('.','val', '{}',{5}, '.','val', '{}',{1}, '.','val', '{}',{1}, '.','val', '{}',{1}), substruct('.','tdfn', '()',{1})); matlabbatch{6}.spm.tools.tsdiffana_tools{1}.tsdiffana_tsdiffplot.tdfn(2) = cfg_dep('Analyse Time Series: Timeseries Analysis Data File (2)', substruct('.','val', '{}',{5}, '.','val', '{}',{1}, '.','val', '{}',{1}, '.','val', '{}',{1}), substruct('.','tdfn', '()',{2})); matlabbatch{6}.spm.tools.tsdiffana_tools{1}.tsdiffana_tsdiffplot.tdfn(3) = cfg_dep('Analyse Time Series: Timeseries Analysis Data File (3)', substruct('.','val', '{}',{5}, '.','val', '{}',{1}, '.','val', '{}',{1}, '.','val', '{}',{1}), substruct('.','tdfn', '()',{3})); matlabbatch{6}.spm.tools.tsdiffana_tools{1}.tsdiffana_tsdiffplot.doprint = true; matlabbatch{7}.spm.spatial.realign.estimate.data{1}(1) = cfg_dep('Named File Selector: EPI images(1) - Files', substruct('.','val', '{}',{4}, '.','val', '{}',{1}, '.','val', '{}',{1}, '.','val', '{}',{1}), substruct('.','files', '{}',{1})); matlabbatch{7}.spm.spatial.realign.estimate.data{2}(1) = cfg_dep('Named File Selector: EPI images(2) - Files', substruct('.','val', '{}',{4}, '.','val', '{}',{1}, '.','val', '{}',{1}, '.','val', '{}',{1}), substruct('.','files', '{}',{2})); matlabbatch{7}.spm.spatial.realign.estimate.data{3}(1) = cfg_dep('Named File Selector: EPI images(3) - Files', substruct('.','val', '{}',{4}, '.','val', '{}',{1}, '.','val', '{}',{1}, '.','val', '{}',{1}), substruct('.','files', '{}',{3})); matlabbatch{7}.spm.spatial.realign.estimate.eoptions.quality = 0.9; matlabbatch{7}.spm.spatial.realign.estimate.eoptions.sep = 4; matlabbatch{7}.spm.spatial.realign.estimate.eoptions.fwhm = 5; matlabbatch{7}.spm.spatial.realign.estimate.eoptions.rtm = 1; matlabbatch{7}.spm.spatial.realign.estimate.eoptions.interp = 2; matlabbatch{7}.spm.spatial.realign.estimate.eoptions.wrap = [0 0 0]; matlabbatch{7}.spm.spatial.realign.estimate.eoptions.weight = ''; matlabbatch{8}.spm.spatial.coreg.estimate.ref(1) = cfg_dep('Realign: Estimate: Realigned Images (Sess 1)', substruct('.','val', '{}',{7}, '.','val', '{}',{1}, '.','val', '{}',{1}, '.','val', '{}',{1}), substruct('.','sess', '()',{1}, '.','cfiles')); matlabbatch{8}.spm.spatial.coreg.estimate.source = ''; matlabbatch{8}.spm.spatial.coreg.estimate.other = {''}; matlabbatch{8}.spm.spatial.coreg.estimate.eoptions.cost_fun = 'nmi'; matlabbatch{8}.spm.spatial.coreg.estimate.eoptions.sep = [4 2]; matlabbatch{8}.spm.spatial.coreg.estimate.eoptions.tol = [0.02 0.02 0.02 0.001 0.001 0.001 0.01 0.01 0.01 0.001 0.001 0.001]; matlabbatch{8}.spm.spatial.coreg.estimate.eoptions.fwhm = [7 7]; matlabbatch{9}.spm.spatial.normalise.estwrite.subj.vol(1) = cfg_dep('Coregister: Estimate: Coregistered Images', substruct('.','val', '{}',{8}, '.','val', '{}',{1}, '.','val', '{}',{1}, '.','val', '{}',{1}), substruct('.','cfiles')); matlabbatch{9}.spm.spatial.normalise.estwrite.subj.resample(1) = cfg_dep('Realign: Estimate: Realigned Images (Sess 1)', substruct('.','val', '{}',{7}, '.','val', '{}',{1}, '.','val', '{}',{1}, '.','val', '{}',{1}), substruct('.','sess', '()',{1}, '.','cfiles')); matlabbatch{9}.spm.spatial.normalise.estwrite.subj.resample(2) = cfg_dep('Realign: Estimate: Realigned Images (Sess 2)', substruct('.','val', '{}',{7}, '.','val', '{}',{1}, '.','val', '{}',{1}, '.','val', '{}',{1}), substruct('.','sess', '()',{2}, '.','cfiles')); matlabbatch{9}.spm.spatial.normalise.estwrite.subj.resample(3) = cfg_dep('Realign: Estimate: Realigned Images (Sess 3)', substruct('.','val', '{}',{7}, '.','val', '{}',{1}, '.','val', '{}',{1}, '.','val', '{}',{1}), substruct('.','sess', '()',{3}, '.','cfiles')); matlabbatch{9}.spm.spatial.normalise.estwrite.eoptions.biasreg = 0.0001; matlabbatch{9}.spm.spatial.normalise.estwrite.eoptions.biasfwhm = 60; matlabbatch{9}.spm.spatial.normalise.estwrite.eoptions.tpm = {'/common/apps/spm12/tpm/TPM.nii'}; matlabbatch{9}.spm.spatial.normalise.estwrite.eoptions.affreg = 'mni'; matlabbatch{9}.spm.spatial.normalise.estwrite.eoptions.reg = [0 0.001 0.5 0.05 0.2]; matlabbatch{9}.spm.spatial.normalise.estwrite.eoptions.fwhm = 0; matlabbatch{9}.spm.spatial.normalise.estwrite.eoptions.samp = 3; matlabbatch{9}.spm.spatial.normalise.estwrite.woptions.bb = [-78 -112 -70 78 76 85]; matlabbatch{9}.spm.spatial.normalise.estwrite.woptions.vox = [2 2 2]; matlabbatch{9}.spm.spatial.normalise.estwrite.woptions.interp = 4; matlabbatch{9}.spm.spatial.normalise.estwrite.woptions.prefix = 'w'; matlabbatch{10}.spm.spatial.smooth.data(1) = cfg_dep('Normalise: Estimate & Write: Normalised Images (Subj 1)', substruct('.','val', '{}',{9}, '.','val', '{}',{1}, '.','val', '{}',{1}, '.','val', '{}',{1}), substruct('()',{1}, '.','files')); matlabbatch{10}.spm.spatial.smooth.fwhm = [8 8 8]; matlabbatch{10}.spm.spatial.smooth.dtype = 0; matlabbatch{10}.spm.spatial.smooth.im = 0; matlabbatch{10}.spm.spatial.smooth.prefix = 's'; matlabbatch{11}.cfg_basicio.file_dir.file_ops.cfg_file_split.name = 'Smoothed EPIs'; matlabbatch{11}.cfg_basicio.file_dir.file_ops.cfg_file_split.files(1) = cfg_dep('Smooth: Smoothed Images', substruct('.','val', '{}',{10}, '.','val', '{}',{1}, '.','val', '{}',{1}), substruct('.','files')); matlabbatch{11}.cfg_basicio.file_dir.file_ops.cfg_file_split.index{1}(1) = cfg_dep('Named File Selector: EPI images(1) - File index', substruct('.','val', '{}',{4}, '.','val', '{}',{1}, '.','val', '{}',{1}, '.','val', '{}',{1}), substruct('.','index', '{}',{1})); matlabbatch{11}.cfg_basicio.file_dir.file_ops.cfg_file_split.index{2}(1) = cfg_dep('Named File Selector: EPI images(2) - File index', substruct('.','val', '{}',{4}, '.','val', '{}',{1}, '.','val', '{}',{1}, '.','val', '{}',{1}), substruct('.','index', '{}',{2})); matlabbatch{11}.cfg_basicio.file_dir.file_ops.cfg_file_split.index{3}(1) = cfg_dep('Named File Selector: EPI images(3) - File index', substruct('.','val', '{}',{4}, '.','val', '{}',{1}, '.','val', '{}',{1}, '.','val', '{}',{1}), substruct('.','index', '{}',{3})); matlabbatch{12}.spm.stats.fmri_spec.dir(1) = cfg_dep('Make Directory: Make Directory ''analysis_2018''', substruct('.','val', '{}',{3}, '.','val', '{}',{1}, '.','val', '{}',{1}, '.','val', '{}',{1}), substruct('.','dir')); matlabbatch{12}.spm.stats.fmri_spec.timing.units = 'scans'; matlabbatch{12}.spm.stats.fmri_spec.timing.RT = 2.6; matlabbatch{12}.spm.stats.fmri_spec.timing.fmri_t = 16; matlabbatch{12}.spm.stats.fmri_spec.timing.fmri_t0 = 8; matlabbatch{12}.spm.stats.fmri_spec.sess(1).scans(1) = cfg_dep('File Set Split: Smoothed EPIs (1)', substruct('.','val', '{}',{11}, '.','val', '{}',{1}, '.','val', '{}',{1}, '.','val', '{}',{1}), substruct('{}',{1})); matlabbatch{12}.spm.stats.fmri_spec.sess(1).cond = struct('name', {}, 'onset', {}, 'duration', {}, 'tmod', {}, 'pmod', {}, 'orth', {}); matlabbatch{12}.spm.stats.fmri_spec.sess(1).multi = ''; matlabbatch{12}.spm.stats.fmri_spec.sess(1).regress = struct('name', {}, 'val', {}); matlabbatch{12}.spm.stats.fmri_spec.sess(1).multi_reg(1) = cfg_dep('Realign: Estimate: Realignment Param File (Sess 1)', substruct('.','val', '{}',{7}, '.','val', '{}',{1}, '.','val', '{}',{1}, '.','val', '{}',{1}), substruct('.','sess', '()',{1}, '.','rpfile')); matlabbatch{12}.spm.stats.fmri_spec.sess(1).hpf = 128; matlabbatch{12}.spm.stats.fmri_spec.sess(2).scans(1) = cfg_dep('File Set Split: Smoothed EPIs (2)', substruct('.','val', '{}',{11}, '.','val', '{}',{1}, '.','val', '{}',{1}, '.','val', '{}',{1}), substruct('{}',{2})); matlabbatch{12}.spm.stats.fmri_spec.sess(2).cond = struct('name', {}, 'onset', {}, 'duration', {}, 'tmod', {}, 'pmod', {}, 'orth', {}); matlabbatch{12}.spm.stats.fmri_spec.sess(2).multi = ''; matlabbatch{12}.spm.stats.fmri_spec.sess(2).regress = struct('name', {}, 'val', {}); matlabbatch{12}.spm.stats.fmri_spec.sess(2).multi_reg(1) = cfg_dep('Realign: Estimate: Realignment Param File (Sess 2)', substruct('.','val', '{}',{7}, '.','val', '{}',{1}, '.','val', '{}',{1}, '.','val', '{}',{1}), substruct('.','sess', '()',{2}, '.','rpfile')); matlabbatch{12}.spm.stats.fmri_spec.sess(2).hpf = 128; matlabbatch{12}.spm.stats.fmri_spec.sess(3).scans(1) = cfg_dep('File Set Split: Smoothed EPIs (3)', substruct('.','val', '{}',{11}, '.','val', '{}',{1}, '.','val', '{}',{1}, '.','val', '{}',{1}), substruct('{}',{3})); matlabbatch{12}.spm.stats.fmri_spec.sess(3).cond = struct('name', {}, 'onset', {}, 'duration', {}, 'tmod', {}, 'pmod', {}, 'orth', {}); matlabbatch{12}.spm.stats.fmri_spec.sess(3).multi = ''; matlabbatch{12}.spm.stats.fmri_spec.sess(3).regress = struct('name', {}, 'val', {}); matlabbatch{12}.spm.stats.fmri_spec.sess(3).multi_reg(1) = cfg_dep('Realign: Estimate: Realignment Param File (Sess 3)', substruct('.','val', '{}',{7}, '.','val', '{}',{1}, '.','val', '{}',{1}, '.','val', '{}',{1}), substruct('.','sess', '()',{3}, '.','rpfile')); matlabbatch{12}.spm.stats.fmri_spec.sess(3).hpf = 128; matlabbatch{12}.spm.stats.fmri_spec.fact = struct('name', {}, 'levels', {}); matlabbatch{12}.spm.stats.fmri_spec.bases.hrf.derivs = [0 0]; matlabbatch{12}.spm.stats.fmri_spec.volt = 1; matlabbatch{12}.spm.stats.fmri_spec.global = 'None'; matlabbatch{12}.spm.stats.fmri_spec.mthresh = 0.8; matlabbatch{12}.spm.stats.fmri_spec.mask = {''}; matlabbatch{12}.spm.stats.fmri_spec.cvi = 'AR(1)'; matlabbatch{13}.spm.stats.fmri_est.spmmat(1) = cfg_dep('fMRI model specification: SPM.mat File', substruct('.','val', '{}',{12}, '.','val', '{}',{1}, '.','val', '{}',{1}), substruct('.','spmmat')); matlabbatch{13}.spm.stats.fmri_est.write_residuals = 0; matlabbatch{13}.spm.stats.fmri_est.method.Classical = 1; matlabbatch{14}.spm.stats.con.spmmat(1) = cfg_dep('Model estimation: SPM.mat File', substruct('.','val', '{}',{13}, '.','val', '{}',{1}, '.','val', '{}',{1}), substruct('.','spmmat')); matlabbatch{14}.spm.stats.con.consess{1}.fcon.name = 'effects of interest'; matlabbatch{14}.spm.stats.con.consess{1}.fcon.weights = [1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1]; matlabbatch{14}.spm.stats.con.consess{1}.fcon.sessrep = 'repl'; matlabbatch{14}.spm.stats.con.consess{2}.tcon.name = '2-back > 1-back'; matlabbatch{14}.spm.stats.con.consess{2}.tcon.weights = [-1 -1 -1 -1 -1 1 1 1 1 1]; matlabbatch{14}.spm.stats.con.consess{2}.tcon.sessrep = 'replsc'; matlabbatch{14}.spm.stats.con.consess{3}.tcon.name = 'Visibility'; matlabbatch{14}.spm.stats.con.consess{3}.tcon.weights = [-2 -1 0 1 2 -2 -1 0 1 2]; matlabbatch{14}.spm.stats.con.consess{3}.tcon.sessrep = 'replsc'; matlabbatch{14}.spm.stats.con.consess{4}.tcon.name = 'interaction Visibility x Memory'; matlabbatch{14}.spm.stats.con.consess{4}.tcon.weights = [-2 -1 0 1 2 2 1 0 -1 -2]; matlabbatch{14}.spm.stats.con.consess{4}.tcon.sessrep = 'replsc'; matlabbatch{14}.spm.stats.con.delete = 0; matlabbatch{15}.spm.stats.results.spmmat(1) = cfg_dep('Contrast Manager: SPM.mat File', substruct('.','val', '{}',{14}, '.','val', '{}',{1}, '.','val', '{}',{1}), substruct('.','spmmat')); matlabbatch{15}.spm.stats.results.conspec.titlestr = ''; matlabbatch{15}.spm.stats.results.conspec.contrasts = Inf; matlabbatch{15}.spm.stats.results.conspec.threshdesc = 'FWE'; matlabbatch{15}.spm.stats.results.conspec.thresh = 0.05; matlabbatch{15}.spm.stats.results.conspec.extent = 0; matlabbatch{15}.spm.stats.results.conspec.conjunction = 1; matlabbatch{15}.spm.stats.results.conspec.mask.none = 1; matlabbatch{15}.spm.stats.results.units = 1; matlabbatch{15}.spm.stats.results.export{1}.ps = true;