ENH: Couple head motion and susceptibility distortion within TOPUP#548
Open
mgxd wants to merge 8 commits into
Open
ENH: Couple head motion and susceptibility distortion within TOPUP#548mgxd wants to merge 8 commits into
mgxd wants to merge 8 commits into
Conversation
Since #279, motion estimation was decoupled and performed independently of topup. This re-enables it, with some modifications listed in the topup docs: https://fsl.fmrib.ox.ac.uk/fsl/docs/diffusion/topup/index.html An overview of the changes: - removal of slice padding - now the topup config file is selected based on the input data shape, with an emphasis on speed (divisable by 4, 2, and finally 1) https://fsl.fmrib.ox.ac.uk/fsl/docs/diffusion/topup/FAQ/index.html#do-i-have-to-have-an-even-number-of-slices-to-use-topup - volumes are capped per PE - instead of averaging across all, select a max of 3 per PE direction https://fsl.fmrib.ox.ac.uk/fsl/docs/diffusion/topup/users_guide/index.html#what-data-to-acquire-in-order-to-use-topup
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #548 +/- ##
==========================================
+ Coverage 84.09% 84.13% +0.03%
==========================================
Files 30 30
Lines 2880 2937 +57
Branches 383 390 +7
==========================================
+ Hits 2422 2471 +49
- Misses 382 388 +6
- Partials 76 78 +2 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Reworks
init_topup_wfto have topup handle both head motion and SD estimation concurrently.A new interface
SelectPEVolumeshas been added to reduce excessive number of inputs (like in #279), based on recommendations from the topup docs. ATM, this is set to 3 pairs, but can be further reduced if needed.Additionally, the padding hack needed to process images with an uneven # of slices was removed (again, recommended by their docs) - instead their stock configs are now present and are auto-selected based on the shape of the incoming field maps. Config file used should not have a drastic effect on the field, just the processing speed.
Given that
RobustAveragewas removed,mc_methodis no longer needed and was removed frominit_topup_wf. Hadn't seen a release yet so better to remove than deprecate.