-
Notifications
You must be signed in to change notification settings - Fork 13
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
[ENH]: Add scrubbing support in fMRIPrepConfoundRemover
#421
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #421 +/- ##
==========================================
- Coverage 85.55% 85.44% -0.11%
==========================================
Files 133 133
Lines 5795 5807 +12
Branches 982 985 +3
==========================================
+ Hits 4958 4962 +4
- Misses 636 642 +6
- Partials 201 203 +2
Flags with carried forward coverage won't be shown. Click here to find out more.
|
15bab84
to
1332737
Compare
|
Two comments:
I think the implementation should come from nilearn: https://nilearn.github.io/stable/modules/generated/nilearn.interfaces.fmriprep.load_confounds.html#nilearn.interfaces.fmriprep.load_confounds Basically here you can set the |
2080792
to
e392c7b
Compare
It generates a mask for indexing the time dimension and passes it to
We don't use |
I see that you use
We need to somehow "mimic" that behaviour. That's what I meant. The scrubbing mask can be either from dvars or fd. |
Do the new commits address it? |
…n fMRIPrepConfoundRemover
54d8c96
to
563fd39
Compare
We are still missing the Coverage is low, meaning that we are missing tests. |
Just so that it's explicit:
I thought the columns should be in the returned dataframe?
|
This PR adds scrubbing support in
fMRIPrepConfoundRemover
by usingstd_dvars
from fMRIPrep output.