|
What is spm_batch ? |
|
|
When can I use spm_batch ? |
|
|
Installation |
|
2. add the directory spm_batch to the path in matlab.
3. move the directory myStudy-Part1 to where ever your fmri-dataspace
is. |
Running the example |
|
|
|
![]() |
|
a: change the variable diskdir = { 'F:\myStudy-part1', 'I:\myStudy-part2' }; to wherever you have moved the directory myStudy-part1. The second entry allows you to access the data of subjects distributed over multiple Partitions (Windows does not know anything about mounting ...). b: check the entries in dInd = [ 1 1 ]; For each Subject (the first, the second and so on) you have to specify here under which entry in diskdir the directory of the respective subject is located. In the example this is 1 1. c:adjust the paths given in templateDir and batchDir to wherever your SPM99 templates and the spm_batch scripts are. d: the array uind specifies on which subjects given by the uindth value of userdir the bach-job should be performed. Here in the example we work only on the first subject: uInd = [ 1];. To work on Subject1 and Subject2 for example uind should be: uInd = [ 1 2];. e: to specify the session to work on set sesDir appropriately. f: set mprImg to match the name of the anatomical scan in analyze format: mprImg = [ WR_SEP_USER_DIR '\Anatom\Mpr\myAnatomicalScan.img']; |
|
|
|
|
What is the normalization procedure applied in the example ? |
|
|
Adjusting the scripts in spm_batch |
|
|
|
|
| slice-timing: | preprocess.m, batchSlicetime.m |
| realign: | batchRealign.m, preprocess.m |
| normalize, anatomical | batchDefaultsNormMPR.m, batchNormalize, preprocess.m |
| normalize, functional | batchDefaultsNormEPI.m, batchNormalize.m, preprocess.m |
| smoothing | preprocess.m |
| See also the file spm_bch.man in the spm directory for documentation. | |