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
[EHN] Implement signal.clean to SurfaceMasker #4117
Conversation
This is an inital attempt to implement signal.clean to SurfMasker Concerns: clean_kwarg - should filter out confounds and sample mask to prevent user adding those parameters upon creating the masker all the cleaning related parameters - what do we want to choose to expose?
👋 @htwangtw Thanks for creating a PR! Until this PR is ready for review, you can include the [WIP] tag in its title, or leave it as a github draft. Please make sure it is compliant with our contributing guidelines. In particular, be sure it checks the boxes listed below.
For new features:
For bug fixes:
We will review it as quick as possible, feel free to ping us with questions if needed. |
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #4117 +/- ##
==========================================
+ Coverage 91.80% 91.81% +0.01%
==========================================
Files 144 144
Lines 16152 16172 +20
Branches 3359 3360 +1
==========================================
+ Hits 14829 14849 +20
Misses 781 781
Partials 542 542 Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
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.
Looks good so far.
You probably want to add tests ? |
When I look at the |
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.
LGTM!
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.
Thx !
merging... |
linking to #4027 to keep track |
Changes proposed in this pull request:
This is an initial attempt to implement signal.clean to SurfaceMasker.
Concerns (generalisable to niftimaskers):
user adding those parameters upon creating the masker
expose?
If we set on the solution I will expand this to
SurfaceLabelsMasker