Skip to content

Commit

Permalink
Update tedana/stats.py
Browse files Browse the repository at this point in the history
Co-Authored-By: Elizabeth DuPre <emd222@cornell.edu>
  • Loading branch information
CesarCaballeroGaudes and emdupre authored Jan 13, 2020
1 parent 69fe33d commit 95ade44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tedana/stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def computefeats2(data, mmix, mask=None, normalize=True):
# demean masked data
if mask is not None:
data = data[mask, ...]
# normalize data (minus mean and divide by std) in the last dimension
# normalize data (subtract mean and divide by standard deviation) in the last dimension
# so that least-squares estimates represent "approximate" correlation values (data_R)
# assuming mixing matrix (mmix) values are also normalized
data_vn = stats.zscore(data, axis=-1)
Expand Down

0 comments on commit 95ade44

Please sign in to comment.