Skip to content

Commit

Permalink
Merge pull request #1912 from effigies/fix/tb1epi_consistency
Browse files Browse the repository at this point in the history
[FIX] Define a metadata table for TB1EPI
  • Loading branch information
effigies authored Aug 28, 2024
2 parents 6badf41 + a73c1b0 commit 8cced66
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 4 deletions.
13 changes: 9 additions & 4 deletions src/appendices/qmri.md
Original file line number Diff line number Diff line change
Expand Up @@ -607,10 +607,15 @@ The nominal FA value of the SE pulse is twice this value.
Note that the following metadata fields MUST be defined in the accompanying JSON
files:

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

To properly identify constituents of this particular method, values of the `echo`
entity MUST index the images as follows:
Expand Down
10 changes: 10 additions & 0 deletions src/schema/rules/sidecars/fmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,13 @@ MRIFieldmapPepolar:
fields:
PhaseEncodingDirection: required
TotalReadoutTime: required

TB1EPI:
selectors:
- datatype == "fmap"
- suffix == "TB1EPI"
fields:
EchoTime: required
FlipAngle: required
TotalReadoutTime: required
MixingTime: required

0 comments on commit 8cced66

Please sign in to comment.