Skip to content

Commit 8cced66

Browse files
authored
Merge pull request #1912 from effigies/fix/tb1epi_consistency
[FIX] Define a metadata table for TB1EPI
2 parents 6badf41 + a73c1b0 commit 8cced66

File tree

2 files changed

+19
-4
lines changed

2 files changed

+19
-4
lines changed

src/appendices/qmri.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -607,10 +607,15 @@ The nominal FA value of the SE pulse is twice this value.
607607
Note that the following metadata fields MUST be defined in the accompanying JSON
608608
files:
609609

610-
| **Field name** | **Definition** |
611-
| ------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------- |
612-
| `TotalReadoutTime` | The effective readout length defined as `EffectiveEchoSpacing * PEReconMatrix`, with `EffectiveEchoSpacing = TrueEchoSpacing / PEacceleration` |
613-
| `MixingTime` | Time interval between the SE and STE pulses |
610+
<!-- This block generates a metadata table.
611+
These tables are defined in
612+
src/schema/rules/sidecars
613+
The definitions of the fields specified in these tables may be found in
614+
src/schema/objects/metadata.yaml
615+
A guide for using macros can be found at
616+
https://github.com/bids-standard/bids-specification/blob/master/macros_doc.md
617+
-->
618+
{{ MACROS___make_sidecar_table("fmap.TB1EPI") }}
614619

615620
To properly identify constituents of this particular method, values of the `echo`
616621
entity MUST index the images as follows:

src/schema/rules/sidecars/fmap.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,3 +69,13 @@ MRIFieldmapPepolar:
6969
fields:
7070
PhaseEncodingDirection: required
7171
TotalReadoutTime: required
72+
73+
TB1EPI:
74+
selectors:
75+
- datatype == "fmap"
76+
- suffix == "TB1EPI"
77+
fields:
78+
EchoTime: required
79+
FlipAngle: required
80+
TotalReadoutTime: required
81+
MixingTime: required

0 commit comments

Comments
 (0)