Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ENH] Add "chunk" entity to MRI datatype #1586

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions src/schema/objects/entities.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,12 @@ chunk:
name: chunk
display_name: Chunk
description: |
The `chunk-<index>` key/value pair is used to distinguish between different regions,
2D images or 3D volumes files,
of the same physical sample with different fields of view acquired in the same imaging experiment.
The `chunk-<index>` key/value pair is used to distinguish between images of
the same physical sample with different fields of view acquired in the same
imaging experiment.
This entity applies to collections of 2D images, 3D volumes or 4D volume series
(for example, diffusion weighted images), and may be used to indicate different
anatomical structures or regions of the same structure.
type: string
format: index
density:
Expand Down
9 changes: 9 additions & 0 deletions src/schema/rules/files/raw/anat.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ nonparametric:
run: optional
echo: optional
part: optional
chunk: optional

parametric:
suffixes:
Expand Down Expand Up @@ -62,6 +63,7 @@ parametric:
ceagent: optional
reconstruction: optional
run: optional
chunk: optional

defacemask:
suffixes:
Expand All @@ -81,6 +83,7 @@ defacemask:
reconstruction: optional
run: optional
modality: optional
chunk: optional

multiecho:
suffixes:
Expand All @@ -102,6 +105,7 @@ multiecho:
run: optional
echo: required
part: optional
chunk: optional

multiflip:
suffixes:
Expand All @@ -123,6 +127,7 @@ multiflip:
echo: optional
flip: required
part: optional
chunk: optional

multiinversion:
suffixes:
Expand All @@ -143,6 +148,7 @@ multiinversion:
run: optional
inversion: required
part: optional
chunk: optional

mp2rage:
suffixes:
Expand All @@ -165,6 +171,7 @@ mp2rage:
flip: optional
inversion: required
part: optional
chunk: optional

vfamt:
suffixes:
Expand All @@ -188,6 +195,7 @@ vfamt:
flip: required
mtransfer: required
part: optional
chunk: optional

mtr:
suffixes:
Expand All @@ -208,3 +216,4 @@ mtr:
run: optional
mtransfer: required
part: optional
chunk: optional
2 changes: 2 additions & 0 deletions src/schema/rules/files/raw/dwi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ dwi:
direction: optional
run: optional
part: optional
chunk: optional

sbref:
suffixes:
Expand All @@ -36,3 +37,4 @@ sbref:
direction: optional
run: optional
part: optional
chunk: optional
7 changes: 7 additions & 0 deletions src/schema/rules/files/raw/fmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ fieldmaps:
session: optional
acquisition: optional
run: optional
chunk: optional

pepolar:
suffixes:
Expand All @@ -37,6 +38,7 @@ pepolar:
ceagent: optional
direction: required
run: optional
chunk: optional

TB1DAM:
suffixes:
Expand All @@ -57,6 +59,7 @@ TB1DAM:
flip: required
inversion: optional
part: optional
chunk: optional

TB1EPI:
suffixes:
Expand All @@ -78,6 +81,7 @@ TB1EPI:
flip: required
inversion: optional
part: optional
chunk: optional

RFFieldMaps:
suffixes:
Expand All @@ -102,6 +106,7 @@ RFFieldMaps:
flip: optional
inversion: optional
part: optional
chunk: optional

TB1SRGE:
suffixes:
Expand All @@ -123,6 +128,7 @@ TB1SRGE:
flip: required
inversion: required
part: optional
chunk: optional

parametric:
suffixes:
Expand All @@ -141,3 +147,4 @@ parametric:
ceagent: optional
reconstruction: optional
run: optional
chunk: optional
2 changes: 2 additions & 0 deletions src/schema/rules/files/raw/func.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ func:
run: optional
echo: optional
part: optional
chunk: optional

phase:
suffixes:
Expand All @@ -41,3 +42,4 @@ phase:
direction: optional
run: optional
echo: optional
chunk: optional