![](https://csdnimg.cn/release/download_crawler_static/10145771/bg10.jpg)
16 CONTENTS
45 DCM for Cross Spectral Densities: Anaesthesia Depth in Rodent Data 455
45.1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 455
45.2 Main Results . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 456
45.3 Using the Graphical User Interface to Obtain those Results . . . . . . . . . . . . . 456
45.3.1 The data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 456
45.3.2 Dynamic Causal Modelling of Cross Spectral Densities . . . . . . . . . . . . 456
45.3.3 Comparing models using Bayesian Model Selection . . . . . . . . . . . . . . 460
46 DCM for fNIRS 463
46.1 Example: Motor Execution and Imagery Data . . . . . . . . . . . . . . . . . . . . . 464
46.2 SPM Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 464
46.3 Specifying and Estimating the DCM . . . . . . . . . . . . . . . . . . . . . . . . . . 464
47 Using Dartel 471
47.1 Using Dartel for VBM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 471
47.1.1 Using Spatial→Segment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 471
47.1.2 Using Dartel Tools→Run Dartel (create Template) . . . . . . . . . . . . . . 472
47.1.3 Using Dartel Tools→Normalise to MNI Space . . . . . . . . . . . . . . . . . 472
47.2 Spatially normalising functional data to MNI space . . . . . . . . . . . . . . . . . . 474
47.2.1 An alternative approach for using Dartel to spatially normalise to MNI Space477
47.3 Warping Images to Existing Templates . . . . . . . . . . . . . . . . . . . . . . . . . 479
47.4 Warping one individual to match another . . . . . . . . . . . . . . . . . . . . . . . 479
VIII Batch Interface 483
48 Batch tutorial 485
48.1 Single subject . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 485
48.1.1 Study specific input data . . . . . . . . . . . . . . . . . . . . . . . . . . . . 486
48.1.2 Necessary processing steps . . . . . . . . . . . . . . . . . . . . . . . . . . . . 486
48.1.3 Add modules to the batch . . . . . . . . . . . . . . . . . . . . . . . . . . . . 486
48.1.4 Configure subject-independent data . . . . . . . . . . . . . . . . . . . . . . 486
48.1.5 Data flow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 488
48.1.6 Entering subject-specific data . . . . . . . . . . . . . . . . . . . . . . . . . . 491
48.2 Advanced features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 491
48.2.1 Multiple sessions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 491
48.2.2 Processing multiple subjects in GUI . . . . . . . . . . . . . . . . . . . . . . 493
48.2.3 Command line interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 493
48.2.4 Modifying a saved job . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 495
49 Developer’s guide 497
49.1 SPM and Matlabbatch code organisation . . . . . . . . . . . . . . . . . . . . . . . . 497
49.1.1 Code organisation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 497
49.1.2 Interfaces between SPM and Matlabbatch . . . . . . . . . . . . . . . . . . . 497
49.2 Configuration Code Details . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 497
49.2.1 Virtual Outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 498
49.2.2 SPM Startup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 498
49.2.3 Defaults Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 498
49.3 Utilities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 499
49.3.1 Batch Utilities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 499
49.3.2 MATLAB Code Generation . . . . . . . . . . . . . . . . . . . . . . . . . . . 499
49.3.3 Configuration Management . . . . . . . . . . . . . . . . . . . . . . . . . . . 499
IX Bibliography 501