Skip to content

Commit 3c8a5aa

Browse files
authored
Merge pull request #1918 from Remi-Gau/ref/table_mrs
[MISC] extract MRS institution info in separate table
2 parents ede9b30 + d102c2a commit 3c8a5aa

File tree

2 files changed

+29
-10
lines changed

2 files changed

+29
-10
lines changed

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

Lines changed: 21 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,8 @@ context of the academic literature.
88

99
!!! example "Example datasets"
1010

11-
Several [example MRS datasets](https://github.com/bids-standard/bids-examples/pull/425) have
12-
been formatted using this specification and can be used for practical guidance when curating a new
13-
dataset.
11+
Several [example MRS datasets](https://github.com/bids-standard/bids-examples?tab=readme-ov-file#mrs) have
12+
been formatted using this specification and can be used for practical guidance when curating a new dataset.
1413

1514
## MRS data
1615

@@ -50,11 +49,13 @@ The `*.sdat` file contains either each coil-combined transient stored separately
5049
or all transients summed into a signal average.
5150
The `*.spar` file is a plaintext file describing acquisition parameters.
5251
It is also possible to export raw data as `*.data`/`*.list` or DICOM files.
53-
Siemens scanners allow data export in four formats: i) a proprietary DICOM-structured file known as IMA (`*.ima`);
54-
ii) a conventional DICOM MR Spectroscopy Storage format (`*.dcm`); iii) RDA (`*.rda`),
55-
a proprietary file format with a text-formatted header followed by the binary data points;
56-
and iv) TWIX (`*.dat`), a proprietary file format designed for storing unreconstructed, unprocessed MRS data
57-
from each individual coil element.
52+
Siemens scanners allow data export in four formats:
53+
54+
1. a proprietary DICOM-structured file known as IMA (`*.ima`);
55+
1. a conventional DICOM MR Spectroscopy Storage format (`*.dcm`);
56+
1. RDA (`*.rda`), a proprietary file format with a text-formatted header followed by the binary data points;
57+
1. TWIX (`*.dat`), a proprietary file format designed for storing unreconstructed, unprocessed MRS data from each individual coil element.
58+
5859
The IMA, DICOM MRS, and RDA formats are typically used to export reconstructed and processed data;
5960
however, the sequence designer may choose to also allow the export of un-averaged transients
6061
or data from individual coil elements.
@@ -153,6 +154,18 @@ A guide for using macros can be found at
153154
-->
154155
{{ MACROS___make_sidecar_table("mrs.MRSScannerHardware") }}
155156

157+
#### Institution information
158+
159+
<!-- This block generates a metadata table.
160+
These tables are defined in
161+
src/schema/rules/sidecars
162+
The definitions of the fields specified in these tables may be found in
163+
src/schema/objects/metadata.yaml
164+
A guide for using macros can be found at
165+
https://github.com/bids-standard/bids-specification/blob/master/macros_doc.md
166+
-->
167+
{{ MACROS___make_sidecar_table("mrs.MRSInstitutionInformation") }}
168+
156169
#### Sequence specifics
157170

158171
<!-- This block generates a metadata table.

src/schema/rules/sidecars/mrs.yaml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,20 @@
66

77
---
88
# MRS Common metadata fields
9-
MRSScannerHardware:
9+
MRSInstitutionInformation:
1010
selectors:
1111
- modality == "mrs"
1212
- match(extension, "^\.nii(\.gz)?$")
1313
fields:
14-
InstitutionName: recommended
1514
InstitutionAddress: recommended
15+
InstitutionName: recommended
1616
InstitutionalDepartmentName: recommended
17+
18+
MRSScannerHardware:
19+
selectors:
20+
- modality == "mrs"
21+
- match(extension, "^\.nii(\.gz)?$")
22+
fields:
1723
Manufacturer: recommended
1824
ManufacturersModelName: recommended
1925
DeviceSerialNumber: recommended

0 commit comments

Comments
 (0)