SpmBatch5 - MRC CBU Imaging Wiki

Revision 11 as of 2008-01-21 10:43:29

Clear message
location: SpmBatch5

Batch for SPM5

Actually, batch for SPM5 is very similar to SpmBatch2, with the big exception that you can now save analyses in the GUI to a batch definition file, that can repeat the analysis, and be edited to adapt to another subject or slightly different parameters.

Nonetheless, if you want to continue working directly with Matlab scripts of calls to spm functions, here are some examples (NB we will not be held responsible for any errors!):

  • fMRI preprocessing: attachment:batch_spm5_preproc.m
  • fMRI 1st-level statistics: attachment:batch_spm5_1stlevel.m
  • fMRI 2nd-level statistics (within-subject ANOVA): attachment:batch_spm5_stats_2ndlevel_within_ANOVA.m
  • fMRI 2nd-level statistics (mixed, ie within and between-subject ANOVA) - VERY HACKY!: attachment:batch_spm5_stats_2ndlevel_mixed_ANOVA.m
  • EEG preprocessing: attachment:batch_spm5_eeg_preproc.m

More scripts for EEG/MEG preprocessing and source localisation (particularly for the CBU EEG/MEG machines) can be found here: http://imaging.mrc-cbu.cam.ac.uk/meg/SpmAnalysis

  • Some others [attachment:spm2batch.tar.gz example SPM5 batch scripts].

[Some of these scripts are .tar.tar, so from the unix shell you need to rename the file .tar.gz, unzip with gunzip (gunzip [file]), then extract them (tar -xf [file]).]