Skip to content
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

[ENH] BEP022 - Magnetic Resonance Spectroscopy #1377

Merged
merged 111 commits into from
Aug 26, 2024
Merged

[ENH] BEP022 - Magnetic Resonance Spectroscopy #1377

merged 111 commits into from
Aug 26, 2024

Conversation

markmikkelsen
Copy link
Contributor

@markmikkelsen markmikkelsen commented Jan 6, 2023

Important

This BEP is under community review from June 3 - June 14, 2024. Please participate at #1846.

This pull request is to add BEP022 (magnetic resonance spectroscopy) to the BIDS specification.

Note that some of the MRI metadata descriptions have been modified to generalize to MRS or to make slightly different definitions apply to MRI and MRS.

Closes #680.

Adding and changing files to introduce MRS to the BIDS specification.
- Added future publication ref in 01-introduction.md
- Added table of MRS sequences
- Starting to add new details for the MRS JSON sidecar
- Added MRS-MRI correspondence in Appendix
- Added volume as a new entity
- Changed order of MRS suffixes in src/schema/rulesfiles/raw/mrs.yaml
@markmikkelsen
Copy link
Contributor Author

I'm not sure why the check_links test is failing. Seems to be a URL leading to a publication, but there isn't anything wrong with the link.

@effigies effigies changed the title [ENH] Add BEP022 (magnetic resonance spectroscopy) to the specification BEP022 - Magnetic Resonance Spectroscopy Jan 6, 2023
@sappelhoff sappelhoff added the BEP label Jan 11, 2023
@Remi-Gau
Copy link
Collaborator

Had a quick look. I may be missing something but...

I am wondering if there is any reason to add the matrix size as a metadata when it is already implicitly present in the nifti header?

The description of VolumeAffineMatrix and AcquisitionVoxelSize make it clear that those values can actually be different from that found in the header. But this does not seem to be the case for the MatrixSize?

If so that it may lead to a duplication of information that the validator would need to check for consistency and software would need to know how to handle in case of conflict between the 2 values. So if MatrixSize is allowed to be different than the header value it may be good to use another name and update the description. If it is meant to be the same, then it may be better to remove it.

Sorry if I am missing something obvious.

@markmikkelsen
Copy link
Contributor Author

@effigies I've done another look over the BEP and, yes, I believe it's ready for review.

@effigies
Copy link
Collaborator

@markmikkelsen I've implemented all of the above suggestions (except 3, 8 and 9) in #1830. Please review that and merge if you're happy with the changes.

@ctr
Copy link

ctr commented Jun 3, 2024

Hi @wtclarke and others. I hope this is the right place to comment.

  1. Would you consider adding a "methodDoi" header to link to the DOI for the main paper describing the acquisition approach used? This may be a helpful historical record to bake into MRS data as there are so many one-off special methods. It could then aid an understanding of how the other parameters are (ab)used for new sequences beyond what is anticipated today.

  2. Can the JSON note whether the MRS spatial coordinates are defined with or without distortion correction? I presume normally it's without distortion correction but not sure that is always the case. This will otherwise be a source of mis-alignment.

  3. Does the specification offer guidance as to how to complete the Vendor, etc labels in cases of simulated data?

  4. Does it provide a space to specify samples that should be dropped before analysis, e.g. initial points before a spin echo or initial points that are known to be corrupted during acquisition?

Thanks

Chris Rodgers.

@effigies
Copy link
Collaborator

effigies commented Jun 3, 2024

@ctr Please create a new comment on #1846.

markmikkelsen and others added 2 commits July 25, 2024 16:53
…iles (#1875)

* FIX: Add MRS events files, restrict sidecar metadata checks to data files

* FIX: Do not limit suffixes for filename template
@Remi-Gau
Copy link
Collaborator

Remi-Gau commented Aug 1, 2024

@effigies effigies merged commit 93b6d1f into master Aug 26, 2024
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.

Extend BIDS format to magnetic resonance spectroscopy
9 participants