Skip to content

Commit

Permalink
move filename template
Browse files Browse the repository at this point in the history
  • Loading branch information
Remi-Gau committed Feb 28, 2023
1 parent 6e7df7b commit 268dc7b
Showing 1 changed file with 25 additions and 23 deletions.
48 changes: 25 additions & 23 deletions src/modality-specific-files/magnetic-resonance-imaging-data.md
Original file line number Diff line number Diff line change
Expand Up @@ -179,17 +179,14 @@ For example, a T1map file contains T1 value estimates, in seconds.

### Non-parametric structural MR images

Currently supported non-parametric structural MR images include the following:

<!--
This block generates a suffix table.
The definitions of these fields can be found in
This block generates a filename templates.
The inputs for this macro can be found in the directory
src/schema/rules/files/raw
and a guide for using macros can be found at
https://github.com/bids-standard/bids-specification/blob/master/macros_doc.md
-->
{{ MACROS___make_suffix_table(
[
{{ MACROS___make_filename_template("raw", datatypes=["anat"], suffixes=[
"T1w",
"T2w",
"PDw",
Expand All @@ -200,18 +197,20 @@ and a guide for using macros can be found at
"PDT2",
"UNIT1",
"angio",
]
)
])
}}

Currently supported non-parametric structural MR images include the following:

<!--
This block generates a filename templates.
The inputs for this macro can be found in the directory
This block generates a suffix table.
The definitions of these fields can be found in
src/schema/rules/files/raw
and a guide for using macros can be found at
https://github.com/bids-standard/bids-specification/blob/master/macros_doc.md
-->
{{ MACROS___make_filename_template("raw", datatypes=["anat"], suffixes=[
{{ MACROS___make_suffix_table(
[
"T1w",
"T2w",
"PDw",
Expand All @@ -222,7 +221,8 @@ and a guide for using macros can be found at
"PDT2",
"UNIT1",
"angio",
])
]
)
}}

The [`part-<label>`](../appendices/entities.md#part) entity is
Expand Down Expand Up @@ -269,17 +269,16 @@ When there is only a magnitude image of a given type, the `part` entity MAY be o
### Parametric structural MR images

Structural MR images whose intensity is represented in a non-arbitrary scale
constitute parametric maps. Currently supported parametric maps include:
constitute parametric maps.

<!--
This block generates a suffix table.
The definitions of these fields can be found in
This block generates a filename templates.
The inputs for this macro can be found in the directory
src/schema/rules/files/raw
and a guide for using macros can be found at
https://github.com/bids-standard/bids-specification/blob/master/macros_doc.md
-->
{{ MACROS___make_suffix_table(
[
{{ MACROS___make_filename_template("raw", datatypes=["anat"], suffixes=[
"T1map",
"R1map",
"T2map",
Expand All @@ -298,18 +297,20 @@ and a guide for using macros can be found at
"RB1map",
"S0map",
"M0map",
]
)
])
}}

Currently supported parametric maps include:

<!--
This block generates a filename templates.
The inputs for this macro can be found in the directory
This block generates a suffix table.
The definitions of these fields can be found in
src/schema/rules/files/raw
and a guide for using macros can be found at
https://github.com/bids-standard/bids-specification/blob/master/macros_doc.md
-->
{{ MACROS___make_filename_template("raw", datatypes=["anat"], suffixes=[
{{ MACROS___make_suffix_table(
[
"T1map",
"R1map",
"T2map",
Expand All @@ -328,7 +329,8 @@ and a guide for using macros can be found at
"RB1map",
"S0map",
"M0map",
])
]
)
}}

Parametric images listed in the table above are typically generated by
Expand Down

0 comments on commit 268dc7b

Please sign in to comment.