-
Notifications
You must be signed in to change notification settings - Fork 26
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
Calculate smoothed ALFF from smoothed BOLD #1124
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1124 +/- ##
==========================================
- Coverage 83.41% 83.38% -0.03%
==========================================
Files 54 54
Lines 6704 6694 -10
Branches 928 927 -1
==========================================
- Hits 5592 5582 -10
Misses 871 871
Partials 241 241 ☔ View full report in Codecov by Sentry. |
|
||
compute_smoothed_alff = pe.Node( | ||
ComputeALFF(TR=TR, low_pass=low_pass, high_pass=high_pass), | ||
mem_gb=mem_gb["resampled"], |
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.
I was getting TypeError: '>' not supported between instances of 'dict' and 'float'
because it was originally setting mem_gb
as the mem_gb
dictionary instead of the appropriate value.
Hunting down the problem was tough.
Closes #1132, but addresses a request from @erikglee.
Changes proposed in this pull request
init_alff_wf
and use that to calculate the smoothed ALFF instead smoothing the ALFF image calculated from the unsmoothed BOLD data.init_alff_wf
instead of using the interpolated data and censoring it within the workflow.