Skip to content

Commit 93b6d1f

Browse files
authored
Merge pull request #1377 from bids-standard/bep022
[ENH] BEP022 - Magnetic Resonance Spectroscopy
2 parents ace8d7d + 64f31ab commit 93b6d1f

21 files changed

+861
-27
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ BIDS currently supports the following data modalities with more to come in the f
3030
- microscopy
3131
- NIRS
3232
- motion
33+
- MRS
3334

3435
# Formatting your data with BIDS
3536

mkdocs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ nav:
1919
- Microscopy: modality-specific-files/microscopy.md
2020
- Near-Infrared Spectroscopy: modality-specific-files/near-infrared-spectroscopy.md
2121
- Motion: modality-specific-files/motion.md
22+
- Magnetic Resonance Spectroscopy: modality-specific-files/magnetic-resonance-spectroscopy.md
2223
- Derivatives:
2324
- BIDS Derivatives: derivatives/introduction.md
2425
- Common data types and metadata: derivatives/common-data-types.md

src/appendices/cross-modality-correspondence.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,10 @@ The reason for this is that the MRI needs to be corrected for nonlinear gradient
1212
in order to fit the accompanying PET scans for co-registration
1313
(Knudsen et al. 2020, [doi:10.1177/0271678X20905433](https://doi.org/10.1177/0271678X20905433);
1414
Norgaard et al. 2019, [doi:10.1016/j.neuroimage.2019.05.055](https://doi.org/10.1016/j.neuroimage.2019.05.055)).
15+
16+
## MRS-MRI correspondence
17+
18+
It is typical to acquire high-resolution 3D anatomical MR images alongside MRS data for
19+
voxel/slab placement, co-registration, and partial-volume tissue correction of metabolite concentrations.
20+
To avoid incorrectly matching an MRS dataset with a corresponding anatomical MR image,
21+
it is RECOMMENDED that the field `AnatomicalImage` be included in the MRS sidecar JSON files.

src/introduction.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,10 @@ For example:
184184
PsyArXiv.
185185
[doi:10.31234/osf.io/w6z79](https://doi.org/10.31234/osf.io/w6z79)
186186

187+
#### MRS
188+
189+
- (publication forthcoming)
190+
187191
### Research Resource Identifier (RRID)
188192

189193
BIDS has also a

src/modality-specific-files/magnetic-resonance-spectroscopy.md

Lines changed: 260 additions & 0 deletions
Large diffs are not rendered by default.

src/schema/meta/context.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -405,6 +405,10 @@ properties:
405405
name: 'sform code'
406406
description: 'Use of the affine fields.'
407407
type: integer
408+
mrs:
409+
name: 'NIfTI-MRS extension'
410+
description: 'NIfTI-MRS JSON fields'
411+
type: object
408412
ome:
409413
name: 'Open Microscopy Environment fields'
410414
description: 'Parsed contents of OME-XML header, which may be found in OME-TIFF or OME-ZARR files'

src/schema/objects/common_principles.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ data_type:
4141
12. `nirs` (near infrared spectroscopy)
4242
4343
13. `motion` (motion)
44+
45+
14. `mrs` (magnetic resonance spectroscopy)
46+
4447
dataset:
4548
display_name: Dataset
4649
description: |

src/schema/objects/datatypes.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,10 @@ motion:
4747
value: motion
4848
display_name: Motion
4949
description: Motion data from a tracking system
50+
mrs:
51+
value: mrs
52+
display_name: Magnetic Resonance Spectroscopy
53+
description: Magnetic resonance spectroscopy data
5054
perf:
5155
value: perf
5256
display_name: Perfusion imaging

src/schema/objects/entities.yaml

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,17 @@ mtransfer:
179179
enum:
180180
- $ref: objects.enums.on__mtransfer.value
181181
- $ref: objects.enums.off__mtransfer.value
182+
nucleus:
183+
name: nuc
184+
display_name: Nucleus
185+
description: |
186+
The `nuc-<label>` entity can be used to distinguish acquisitions tuned
187+
to detect different nuclei.
188+
The label is the name of the nucleus or nuclei, which corresponds to DICOM Tag `0018, 9100`.
189+
If present in the filename, `"ResonantNucleus"` MUST also be included in
190+
the associated metadata.
191+
type: string
192+
format: label
182193
part:
183194
name: part
184195
display_name: Part
@@ -408,9 +419,19 @@ tracer:
408419
Please note that the `<label>` does not need to match the actual value of the field.
409420
type: string
410421
format: label
422+
volume:
423+
name: voi
424+
display_name: Volume of Interest
425+
description: |
426+
The `voi-<label>` entity can be used to distinguish acquisitions localized to different regions.
427+
The label SHOULD be the name of the body region or part scanned.
428+
If used, the fields `"BodyPart"` and `"BodyPartDetails"` MUST be defined in the JSON file.
429+
`BodyPartDetailsOntology` is OPTIONAL to also include.
430+
type: string
431+
format: label
411432
tracksys:
412433
name: tracksys
413-
display_name: Tracking system
434+
display_name: Tracking System
414435
description: |
415436
The `tracksys-<label>` entity can be used as a key-value pair
416437
to label *_motion.tsv and *_motion.json files.

src/schema/objects/enums.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,11 @@ Absent:
120120
display_name: Absent
121121
description: |
122122
No specific M0 information is present.
123+
OneD:
124+
value: 1D
125+
display_name: One-dimensional
126+
description: |
127+
One-dimensional MR acquisition.
123128
TwoD:
124129
value: 2D
125130
display_name: Two-dimensional

0 commit comments

Comments
 (0)