Skip to content

Commit

Permalink
Update tedana/gscontrol.py
Browse files Browse the repository at this point in the history
Co-authored-by: Elizabeth DuPre <emd222@cornell.edu>
  • Loading branch information
tsalo and emdupre authored Oct 19, 2020
1 parent 3e802b2 commit 5568a28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tedana/gscontrol.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ def minimum_image_regression(optcom_ts, mmix, mask, comptable, ref_img, out_dir=

# Compute temporal regression
optcom_z = stats.zscore(optcom_masked, axis=-1)
comp_pes = np.linalg.lstsq(mmix, optcom_z.T, rcond=None)[0].T
comp_pes = np.linalg.lstsq(mmix, optcom_z.T, rcond=None)[0].T # component parameter estimates
resid = optcom_z - np.dot(comp_pes[:, not_ign], mmix[:, not_ign].T)

# Build time series of just BOLD-like components (i.e., MEHK) and save T1-like effect
Expand Down

0 comments on commit 5568a28

Please sign in to comment.