-
Notifications
You must be signed in to change notification settings - Fork 0
/
glm_s3_spm_job.m
239 lines (239 loc) · 16.4 KB
/
glm_s3_spm_job.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
%-----------------------------------------------------------------------
% Job saved on 11-Aug-2022 00:59:33 by cfg_util (rev $Rev: 7345 $)
% spm SPM - SPM12 (7771)
% cfg_basicio BasicIO - Unknown
%-----------------------------------------------------------------------
matlabbatch{1}.spm.stats.fmri_spec.dir = {'glm_s3'};
matlabbatch{1}.spm.stats.fmri_spec.timing.units = 'secs';
matlabbatch{1}.spm.stats.fmri_spec.timing.RT = 2;
matlabbatch{1}.spm.stats.fmri_spec.timing.fmri_t = 31;
matlabbatch{1}.spm.stats.fmri_spec.timing.fmri_t0 = 16;
%%
matlabbatch{1}.spm.stats.fmri_spec.sess.scans = {
'nifti/srfmri.nii,1'
'nifti/srfmri.nii,2'
'nifti/srfmri.nii,3'
'nifti/srfmri.nii,4'
'nifti/srfmri.nii,5'
'nifti/srfmri.nii,6'
'nifti/srfmri.nii,7'
'nifti/srfmri.nii,8'
'nifti/srfmri.nii,9'
'nifti/srfmri.nii,10'
'nifti/srfmri.nii,11'
'nifti/srfmri.nii,12'
'nifti/srfmri.nii,13'
'nifti/srfmri.nii,14'
'nifti/srfmri.nii,15'
'nifti/srfmri.nii,16'
'nifti/srfmri.nii,17'
'nifti/srfmri.nii,18'
'nifti/srfmri.nii,19'
'nifti/srfmri.nii,20'
'nifti/srfmri.nii,21'
'nifti/srfmri.nii,22'
'nifti/srfmri.nii,23'
'nifti/srfmri.nii,24'
'nifti/srfmri.nii,25'
'nifti/srfmri.nii,26'
'nifti/srfmri.nii,27'
'nifti/srfmri.nii,28'
'nifti/srfmri.nii,29'
'nifti/srfmri.nii,30'
'nifti/srfmri.nii,31'
'nifti/srfmri.nii,32'
'nifti/srfmri.nii,33'
'nifti/srfmri.nii,34'
'nifti/srfmri.nii,35'
'nifti/srfmri.nii,36'
'nifti/srfmri.nii,37'
'nifti/srfmri.nii,38'
'nifti/srfmri.nii,39'
'nifti/srfmri.nii,40'
'nifti/srfmri.nii,41'
'nifti/srfmri.nii,42'
'nifti/srfmri.nii,43'
'nifti/srfmri.nii,44'
'nifti/srfmri.nii,45'
'nifti/srfmri.nii,46'
'nifti/srfmri.nii,47'
'nifti/srfmri.nii,48'
'nifti/srfmri.nii,49'
'nifti/srfmri.nii,50'
'nifti/srfmri.nii,51'
'nifti/srfmri.nii,52'
'nifti/srfmri.nii,53'
'nifti/srfmri.nii,54'
'nifti/srfmri.nii,55'
'nifti/srfmri.nii,56'
'nifti/srfmri.nii,57'
'nifti/srfmri.nii,58'
'nifti/srfmri.nii,59'
'nifti/srfmri.nii,60'
'nifti/srfmri.nii,61'
'nifti/srfmri.nii,62'
'nifti/srfmri.nii,63'
'nifti/srfmri.nii,64'
'nifti/srfmri.nii,65'
'nifti/srfmri.nii,66'
'nifti/srfmri.nii,67'
'nifti/srfmri.nii,68'
'nifti/srfmri.nii,69'
'nifti/srfmri.nii,70'
'nifti/srfmri.nii,71'
'nifti/srfmri.nii,72'
'nifti/srfmri.nii,73'
'nifti/srfmri.nii,74'
'nifti/srfmri.nii,75'
'nifti/srfmri.nii,76'
'nifti/srfmri.nii,77'
'nifti/srfmri.nii,78'
'nifti/srfmri.nii,79'
'nifti/srfmri.nii,80'
'nifti/srfmri.nii,81'
'nifti/srfmri.nii,82'
'nifti/srfmri.nii,83'
'nifti/srfmri.nii,84'
'nifti/srfmri.nii,85'
'nifti/srfmri.nii,86'
'nifti/srfmri.nii,87'
'nifti/srfmri.nii,88'
'nifti/srfmri.nii,89'
'nifti/srfmri.nii,90'
'nifti/srfmri.nii,91'
'nifti/srfmri.nii,92'
'nifti/srfmri.nii,93'
'nifti/srfmri.nii,94'
'nifti/srfmri.nii,95'
'nifti/srfmri.nii,96'
'nifti/srfmri.nii,97'
'nifti/srfmri.nii,98'
'nifti/srfmri.nii,99'
'nifti/srfmri.nii,100'
'nifti/srfmri.nii,101'
'nifti/srfmri.nii,102'
'nifti/srfmri.nii,103'
'nifti/srfmri.nii,104'
'nifti/srfmri.nii,105'
'nifti/srfmri.nii,106'
'nifti/srfmri.nii,107'
'nifti/srfmri.nii,108'
'nifti/srfmri.nii,109'
'nifti/srfmri.nii,110'
'nifti/srfmri.nii,111'
'nifti/srfmri.nii,112'
'nifti/srfmri.nii,113'
'nifti/srfmri.nii,114'
'nifti/srfmri.nii,115'
'nifti/srfmri.nii,116'
'nifti/srfmri.nii,117'
'nifti/srfmri.nii,118'
'nifti/srfmri.nii,119'
'nifti/srfmri.nii,120'
'nifti/srfmri.nii,121'
'nifti/srfmri.nii,122'
'nifti/srfmri.nii,123'
'nifti/srfmri.nii,124'
'nifti/srfmri.nii,125'
'nifti/srfmri.nii,126'
'nifti/srfmri.nii,127'
'nifti/srfmri.nii,128'
'nifti/srfmri.nii,129'
'nifti/srfmri.nii,130'
'nifti/srfmri.nii,131'
'nifti/srfmri.nii,132'
'nifti/srfmri.nii,133'
'nifti/srfmri.nii,134'
'nifti/srfmri.nii,135'
'nifti/srfmri.nii,136'
'nifti/srfmri.nii,137'
'nifti/srfmri.nii,138'
'nifti/srfmri.nii,139'
'nifti/srfmri.nii,140'
'nifti/srfmri.nii,141'
'nifti/srfmri.nii,142'
'nifti/srfmri.nii,143'
'nifti/srfmri.nii,144'
'nifti/srfmri.nii,145'
'nifti/srfmri.nii,146'
'nifti/srfmri.nii,147'
'nifti/srfmri.nii,148'
'nifti/srfmri.nii,149'
'nifti/srfmri.nii,150'
'nifti/srfmri.nii,151'
'nifti/srfmri.nii,152'
'nifti/srfmri.nii,153'
'nifti/srfmri.nii,154'
'nifti/srfmri.nii,155'
'nifti/srfmri.nii,156'
'nifti/srfmri.nii,157'
'nifti/srfmri.nii,158'
'nifti/srfmri.nii,159'
'nifti/srfmri.nii,160'
'nifti/srfmri.nii,161'
'nifti/srfmri.nii,162'
'nifti/srfmri.nii,163'
'nifti/srfmri.nii,164'
'nifti/srfmri.nii,165'
'nifti/srfmri.nii,166'
'nifti/srfmri.nii,167'
'nifti/srfmri.nii,168'
'nifti/srfmri.nii,169'
'nifti/srfmri.nii,170'
'nifti/srfmri.nii,171'
'nifti/srfmri.nii,172'
'nifti/srfmri.nii,173'
'nifti/srfmri.nii,174'
'nifti/srfmri.nii,175'
'nifti/srfmri.nii,176'
'nifti/srfmri.nii,177'
'nifti/srfmri.nii,178'
'nifti/srfmri.nii,179'
'nifti/srfmri.nii,180'
'nifti/srfmri.nii,181'
'nifti/srfmri.nii,182'
'nifti/srfmri.nii,183'
'nifti/srfmri.nii,184'
'nifti/srfmri.nii,185'
'nifti/srfmri.nii,186'
'nifti/srfmri.nii,187'
'nifti/srfmri.nii,188'
'nifti/srfmri.nii,189'
'nifti/srfmri.nii,190'
'nifti/srfmri.nii,191'
'nifti/srfmri.nii,192'
'nifti/srfmri.nii,193'
'nifti/srfmri.nii,194'
'nifti/srfmri.nii,195'
'nifti/srfmri.nii,196'
'nifti/srfmri.nii,197'
'nifti/srfmri.nii,198'
'nifti/srfmri.nii,199'
'nifti/srfmri.nii,200'
'nifti/srfmri.nii,201'
'nifti/srfmri.nii,202'
'nifti/srfmri.nii,203'
'nifti/srfmri.nii,204'
'nifti/srfmri.nii,205'
'nifti/srfmri.nii,206'
'nifti/srfmri.nii,207'
'nifti/srfmri.nii,208'
'nifti/srfmri.nii,209'
'nifti/srfmri.nii,210'
};
%%
matlabbatch{1}.spm.stats.fmri_spec.sess.cond = struct('name', {}, 'onset', {}, 'duration', {}, 'tmod', {}, 'pmod', {}, 'orth', {});
matlabbatch{1}.spm.stats.fmri_spec.sess.multi = {''};
matlabbatch{1}.spm.stats.fmri_spec.sess.regress = struct('name', {}, 'val', {});
matlabbatch{1}.spm.stats.fmri_spec.sess.multi_reg = {'physio_out/multiple_regressors.txt'};
matlabbatch{1}.spm.stats.fmri_spec.sess.hpf = 128;
matlabbatch{1}.spm.stats.fmri_spec.fact = struct('name', {}, 'levels', {});
matlabbatch{1}.spm.stats.fmri_spec.bases.hrf.derivs = [0 0];
matlabbatch{1}.spm.stats.fmri_spec.volt = 1;
matlabbatch{1}.spm.stats.fmri_spec.global = 'None';
matlabbatch{1}.spm.stats.fmri_spec.mthresh = 0.8;
matlabbatch{1}.spm.stats.fmri_spec.mask = {''};
matlabbatch{1}.spm.stats.fmri_spec.cvi = 'AR(1)';
matlabbatch{2}.spm.stats.fmri_est.spmmat(1) = cfg_dep('fMRI model specification: SPM.mat File', substruct('.','val', '{}',{1}, '.','val', '{}',{1}, '.','val', '{}',{1}), substruct('.','spmmat'));
matlabbatch{2}.spm.stats.fmri_est.write_residuals = 0;
matlabbatch{2}.spm.stats.fmri_est.method.Classical = 1;