Mind fMRI Image Acquisition and Analyses Course - Cheat Sheet for
Course Stats Processing.
-Data & Design <-X *click twice and add two
subject/sessions
+ subject/session
Scans – enter all the ‘sw*.nii’ scans (smoothed/warped) for
s01\run1\sw* - use the filter settings ‘sw.*’ in the window to help you
select the right scans also use the filter settings [1:200] in the
window to help you select the right scans Right click on mouse and
‘select all’ images sws01_aod_run1.nii,1 to sws01_aod_run1.nii,189’)
Conditions *click three times to add three conditions
Name – ‘targets’
Onsets – spm_load – then select s01\beh\targets_run1.txt
Durations -‘0’
Time modulations
Parametric modulations
Condition (double click to highlight)
Name ‘novels’
Onsets – spm_load – then select s01\beh\novels_run1.txt
Durations -‘0’
Time modulations
Parametric modulations
Condition (double click to highlight)
Name ‘standards’
Onsets – spm_load – then select s01\beh\nontargs_run1.txt
Durations -‘0’
Time modulations
Parametric modulations
Multiple conditions
Regressors
Multiple regressors
High-pass filter
+Subject/session
Scans – enter all the ‘sw*.nii’ scans (smoothed/warped) for
s01\run2\sw* - use the filter settings ‘sw.*’ in the window to help you
select the right scans also use the filter settings [1:200] in the
window to help you select the right scans Right click on mouse and
‘select all’ images sws01_aod_run2.nii,1 to sws01_aod_run2.nii,189’)
Conditions *click three times to add three conditions
Name – ‘targets’
Onsets – spm_load – then select s01\beh\targets_run2.txt
Durations -‘0’
Time modulations
Parametric modulations
Condition (double click to highlight)
Name ‘novels’
Onsets – spm_load – then select s01\beh\novels_run2.txt
Durations -‘0’
Time modulations
Parametric modulations
Condition (double click to highlight)
Name ‘standards’
Onsets – spm_load – then select s01\beh\nontargs_run2.txt
Durations -‘0’
Time modulations
Parametric modulations
Multiple conditions
Regressors
Multiple regressors
High-pass filter
Factorial design
Basis functions *click on this to expand
-canonical HRF
Model derivatives - select ‘time derivatives’
Model interactions (volterra)
Global normalization (none) *** recall we never want to accidently
click ‘scale’ here – a big NO NO!
Explicit Mask
Serial Correlations *click to expand
- Select None.
Contrasts. So once you have modelled the data and also run thru the
‘Estimate’ button, selecting the SPM.mat file in the stats directory you
are ready to hit the ‘Results’ button and specify a contrast.
A simple contrast you can specify is Targets vs Nontargets
(Standards) and assuming you included the temporal derivative, this is
the contrast for this: .5 0 0 0 -.5 0 .5 0 0 0 -.5 0 (run 1) target,
target derivative, novel, novel derivative, standard, standard
derivative, (run 2) target, target derivative, novel, novel derivative,
standard, standard derivative, block effect, block effect) You can copy
and paste this contrast in the contrast manager.
If you did not model the temporal derivative, then use this contrast
for targets vs standards.
.5 0 -.5 .5 0 -.5 0 0 (target, novel, standard, target, novel,
standard, block effect, block effect).
Outputs are placed in the s01/stats directory. Always make sure to
use ‘check reg’ and select the mask.img and a t1.img (from the canonical
folder in spm) to see if your mask looks ok.