Diff for "SpmBatch5" - MRC CBU Imaging Wiki
location: Diff for "SpmBatch5"
Differences between revisions 9 and 10
Revision 9 as of 2008-01-21 09:57:23
Size: 536
Editor: RikHenson
Comment:
Revision 10 as of 2008-01-21 10:40:49
Size: 1325
Editor: RikHenson
Comment:
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
Line 5: Line 4:
Here are some [attachment:spm2batch.tar.gz example SPM5 batch scripts]. 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!):
Line 7: Line 6:
[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]). (AlexandraWoolgar)]  * 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]). (AlexandraWoolgar)]

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]). (AlexandraWoolgar)]

CbuImaging: SpmBatch5 (last edited 2013-03-18 23:57:06 by RussellThompson)