Skip to content

Conversation

@tsalo
Copy link
Member

@tsalo tsalo commented Aug 25, 2025

Closes #2181. This is just a first attempt. I'm happy to hand it over to someone else if anyone's interested.

Changes proposed:

  • Remove [T|R]B1map from parametric anatomical suffixes table.
  • Split field map section into B0, B1+, and B1- subsections.

@codecov
Copy link

codecov bot commented Aug 25, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.71%. Comparing base (6bbd951) to head (f7b96e2).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #2183   +/-   ##
=======================================
  Coverage   82.71%   82.71%           
=======================================
  Files          20       20           
  Lines        1608     1608           
=======================================
  Hits         1330     1330           
  Misses        278      278           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@tsalo
Copy link
Member Author

tsalo commented Aug 25, 2025

Pinging @effigies @Remi-Gau and @agahkarakuzu for your opinions.

@agahkarakuzu
Copy link
Contributor

Thank you @tsalo looks great to me! Early on this was premature, but now it is a timely change as qMRI concepts are less unfamiliar.

@effigies
Copy link
Collaborator

I'm good with this. We probably need a little more text in the new sections (I haven't looked at the rendering, so feel free to refute me with a screenshot), but this makes sense to me.

@Remi-Gau
Copy link
Collaborator

2 things:

I would suggest: moving table to the main MRI page under the relevant section (@agahkarakuzu why are some lines of that table empty - can we just remove the lines?)
I would suggest that in the qmri page the field map section just says: see section foo and bar in the main MRI page.

@effigies
Copy link
Collaborator

I agree that moving specification details out of the appendix and into the main spec is good. qMRI is a bit of an outlier in providing additional rules inside the appendix (and they are easy to skip over while working on the schema and/or validator).

@tsalo
Copy link
Member Author

tsalo commented Aug 26, 2025

I tried to move the fieldmap-related information out of the appendix. I think it looks fairly good.

One thing I just realized I don't know- is any metadata used to link B1 fieldmaps to specific scans? The sections on IntendedFor and B0FieldIdentifier (we'd want a B1FieldIdentifier I'm guessing) are nested under the B0 fieldmap section, and I don't know if I should move them.

@effigies
Copy link
Collaborator

One thing I just realized I don't know- is any metadata used to link B1 fieldmaps to specific scans? The sections on IntendedFor and B0FieldIdentifier (we'd want a B1FieldIdentifier I'm guessing) are nested under the B0 fieldmap section, and I don't know if I should move them.

Adding something now requires getting it right, so I would only do it if we're absolutely sure. We can clarify in the future.

Instinctively, I'd say that we want to put a Fieldmap metadata section above the B0/B1 sections where we outline IntendedFor and B[0|1]FieldIdentifier. The main thing I'd worry about getting wrong is whether B1FieldIdentifier is sufficient, or if B1PlusIdentifier and B1MinusIdentifier would be needed.

@effigies
Copy link
Collaborator

Yeah, looks like we need https://mrkeo.github.io/reference/mathjax/. I think it might be good to do, but out of scope for this PR. Will open an issue.

@effigies effigies changed the title [FIX] Split field map documentation based on field type [ENH] Expand fieldmaps section to include B1 maps, including qMRI maps Aug 27, 2025
@effigies
Copy link
Collaborator

@Remi-Gau @bthirion does this address your concerns at this point?

https://bids-specification--2183.org.readthedocs.build/en/2183/modality-specific-files/magnetic-resonance-imaging-data.html#radiofrequency-rf-field-mapping

Copy link

@bthirion bthirion left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM AFAICT

Copy link
Collaborator

@Remi-Gau Remi-Gau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good with me.
thanks @tsalo that's much better that anything I could have done!

@tsalo
Copy link
Member Author

tsalo commented Aug 29, 2025

This just reorganizes the documentation really, so @effigies do you think it merits a 5 day waiting period or should I just merge now?

@effigies
Copy link
Collaborator

Let's merge.

@effigies effigies merged commit 429a107 into bids-standard:master Aug 29, 2025
24 of 25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] list of parametric suffixes for anat in spec does not match those in the schema

5 participants