File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 18
18
have_nipy = False
19
19
else :
20
20
import nipy .modalities .fmri .design_matrix as dm
21
- import nipy .labs . glm .glm as GLM
21
+ import nipy .modalities . fmri .glm as GLM
22
22
23
23
if have_nipy :
24
24
try :
@@ -159,7 +159,7 @@ def _run_interface(self, runtime):
159
159
pylab .close ()
160
160
pylab .clf ()
161
161
162
- glm = GLM .glm ()
162
+ glm = GLM .GeneralLinearModel ()
163
163
glm .fit (timeseries .T , design_matrix , method = self .inputs .method , model = self .inputs .model )
164
164
165
165
self ._beta_file = os .path .abspath ("beta.nii" )
@@ -267,7 +267,7 @@ def _run_interface(self, runtime):
267
267
else :
268
268
mask = np .ones (beta_nii .shape [:3 ]) == 1
269
269
270
- glm = GLM .glm ()
270
+ glm = GLM .GeneralLinearModel ()
271
271
nii = nb .load (self .inputs .beta )
272
272
glm .beta = beta_nii .get_data ().copy ()[mask , :].T
273
273
glm .nvbeta = self .inputs .nvbeta
You can’t perform that action at this time.
0 commit comments