Skip to content

Commit

Permalink
fix detrend fit bug
Browse files Browse the repository at this point in the history
  • Loading branch information
mattcieslak committed May 10, 2018
1 parent 4dc941b commit 7097f82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion meap/physio_regressors.py
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@ def process_mri_slices(self, slice_regressors):
cardiac_fits[nvox] = np.dot(whole_design, reg.coef_ * cardiac_mask)
resp_fits[nvox] = np.dot(whole_design, reg.coef_ * resp_mask)
ix_fits[nvox] = np.dot(whole_design, reg.coef_ * ix_mask)
drift_fits[nvox] = np.dot(whole_design, reg.coef_ * ix_mask)
drift_fits[nvox] = np.dot(whole_design, reg.coef_ * detrend_mask)

if self.write_4d_nuisance:
fitts[nvox] = np.dot(whole_design, reg.coef_)
Expand Down

0 comments on commit 7097f82

Please sign in to comment.