-
Notifications
You must be signed in to change notification settings - Fork 304
feat: Add flag to fallback to Estimated* metadata or a passed value for TotalReadoutTime #3423
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
Merged
effigies
merged 6 commits into
nipreps:master
from
effigies:enh/force-total-readout-time
May 16, 2025
Merged
feat: Add flag to fallback to Estimated* metadata or a passed value for TotalReadoutTime #3423
effigies
merged 6 commits into
nipreps:master
from
effigies:enh/force-total-readout-time
May 16, 2025
Conversation
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
a535ac2
to
f63204f
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #3423 +/- ##
==========================================
- Coverage 72.90% 72.79% -0.12%
==========================================
Files 57 57
Lines 4444 4462 +18
Branches 576 577 +1
==========================================
+ Hits 3240 3248 +8
- Misses 1076 1086 +10
Partials 128 128 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
d1fd368
to
986528d
Compare
986528d
to
de6aa61
Compare
effigies
commented
May 15, 2025
61524d1
to
bbf85e5
Compare
Will merge on pass unless stopped. |
4b6aaaf
to
bbf85e5
Compare
effigies
added a commit
that referenced
this pull request
May 21, 2025
25.1.0 (May 21, 2025) New feature release in the 25.1.x series. This release includes a small fix related to interpolations on the bounds of the image field-of-view. This improves consistency with prior versions of fMRIPrep for data with limited fields-of-view or small bounding boxes. This release also adds support for providing fallback values for ``TotalReadoutTime`` metadata. For Philips datasets, if ``EstimatedTotalReadoutTime`` or ``EstimatedEffectiveEchoSpacing`` are available, you can use these by passing ``--fallback-total-readout-time estimated``. For datasets with no readout time information, a numeric value can be passed, for example, ``--fallback-total-readout-time 0.05``. If the readout time information is known, it is preferable to encode directly in the dataset, but there are cases where it is better to explicitly pass the value to the software than inject uncertain metadata into the dataset. In particular, the true readout time is not necessary for SyN-SDC, but a value is nonetheless needed in order to estimate the inhomogeneity field. This release is a long-term-support *candidate*. We will be performing extensive tests and monitoring bug reports over the next couple of months to determine whether issues can be addressed without making breaking changes. Structural processing changes ----------------------------- This release pins a version of sMRIPrep (0.18) that correctly handles precomputed tissue probability maps. The FAST segmentation also now skips an internal bias field correction step that is redundant with ANTs N4 correction, and may be inappropriate for non-human populations. Fieldmap processing changes --------------------------- This release pins a version of SDCFlows (2.13) that includes several improvements to the SyN-SDC method. In particular, the fieldmap prior that constrained the scope of displacements was reintroduced and refined. All merged pull requests ------------------------ * FIX: Use nearest mode for extrapolating data outside image boundaries (#3453) * ENH: Replace c3d_affine_tool with a ConvertAffine interface (#3464) * ENH: Add flag to fallback to Estimated* metadata or a passed value for TotalReadoutTime (#3423)
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.
This flag provides two additional ways to retrieve TotalReadoutTime. If
EstimatedTotalReadoutTime
orEstimatedEffectiveEchoSpacing
are defined, the user can pass--fallback-total-readout-time estimated
to direct fMRIPrep to use these.This could be turned on by default, but I don't think this is prudent. The reason that
dcm2niix
does not simply sayTotalReadoutTime
orEffectiveEchoSpacing
is not to misrepresent the confidence that these are correct. Previously, users had to actively remove theEstimated
to accept the estimates, and I don't think we want to eliminate the conscious decision. However, we can make it so that users do not need to modify their datasets to accept them.Closes #3009.