-
Notifications
You must be signed in to change notification settings - Fork 532
DVARS fix & improvements #1827
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DVARS fix & improvements #1827
Conversation
@chrisfilo - needs remerge |
nipype/algorithms/confounds.py
Outdated
warnings.filterwarnings('error') | ||
|
||
# voxelwise standardization | ||
diff_vx_stdz = np.square(func_diff) / np.array([diff_sdhat] * func_diff.shape[-1]).T | ||
diff_vx_stdz = np.square( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
**2
would be more readable to me than np.square
, but it is just cosmetic. Maybe you prefer np.square :)
Codecov Report
@@ Coverage Diff @@
## master #1827 +/- ##
==========================================
+ Coverage 72.71% 72.71% +<.01%
==========================================
Files 1059 1059
Lines 52550 52556 +6
==========================================
+ Hits 38211 38217 +6
Misses 14339 14339
Continue to review full report at Codecov.
|
Fixes #1821.