-
Notifications
You must be signed in to change notification settings - Fork 28
ENH: Allow running SyN SDC without using prior #480
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
Conversation
Since these each workflow is called by the `FieldmapEstimation` class, these workflows need to be robust enough to handle keyword arguments designed for one of the specific workflows (in this case SyN)
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #480 +/- ##
==========================================
+ Coverage 83.85% 83.87% +0.01%
==========================================
Files 30 30
Lines 2819 2822 +3
Branches 365 366 +1
==========================================
+ Hits 2364 2367 +3
Misses 384 384
Partials 71 71 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Could you show a |
|
Sure, here's from a current dev run in nibabies |
|
Okay. Cross-referencing #291, it looks like the third mask is never used in any case because we only have two registration stages. From
Given that we're not using the prior at all, does it make sense to remove it altogether and then we can consider re-adding it in a concerted PR? I think we can leave the |
effigies
left a comment
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.
Yeah, I think this looks good. syn-sdc is a mess and I really am not looking forward to figuring out how to get the prior working again.
2.12.0 (March 21, 2025) Feature release in the 2.12.x series. This release migrates from the deprecated ``niworkflows.reporting`` module to the ``nireports`` package. * FIX: AttributeError for _ApplyCoeffsFieldInputSpec (#481) * ENH: Allow running SyN SDC without using prior (#480) * ENH: Allow estimated and fallback TotalReadoutTime (#477) * RF: Transition from niworkflows reporting interfaces (#473) * DOC: Fix broken link [skip ci] (#482) * MNT: Add `defaults` to `conda` channels in `build-test-publish` GHA (#474) * MNT: Update `niworkflows` version to 1.11.0 (#478)
This PR makes the use of a prior during SyN SDC optional, since distortions may differ depending on population. Eventually, it would be nice to add a range of priors, either within SDCFlows directly or easily plugged in from other tools.
Relevant to nipreps/nibabies#393