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 15
15
have_nipy = False
16
16
else :
17
17
import nipy .modalities .fmri .design_matrix as dm
18
- import nipy .labs . glm .glm as GLM
18
+ import nipy .modalities . fmri .glm as GLM
19
19
20
20
if have_nipy :
21
21
try :
@@ -158,7 +158,7 @@ def _run_interface(self, runtime):
158
158
pylab .close ()
159
159
pylab .clf ()
160
160
161
- glm = GLM .glm ()
161
+ glm = GLM .GeneralLinearModel ()
162
162
glm .fit (timeseries .T , design_matrix , method = self .inputs .method , model = self .inputs .model )
163
163
164
164
self ._beta_file = os .path .abspath ("beta.nii" )
@@ -266,7 +266,7 @@ def _run_interface(self, runtime):
266
266
else :
267
267
mask = np .ones (beta_nii .shape [:3 ]) == 1
268
268
269
- glm = GLM .glm ()
269
+ glm = GLM .GeneralLinearModel ()
270
270
nii = nb .load (self .inputs .beta )
271
271
glm .beta = beta_nii .get_data ().copy ()[mask , :].T
272
272
glm .nvbeta = self .inputs .nvbeta
You can’t perform that action at this time.
0 commit comments