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] Update DWI suffixes to include most common scanner derivatives #1864

Merged
merged 20 commits into from
Oct 2, 2024
Merged
Show file tree
Hide file tree
Changes from 14 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
10 changes: 5 additions & 5 deletions src/modality-specific-files/magnetic-resonance-imaging-data.md
Original file line number Diff line number Diff line change
Expand Up @@ -667,7 +667,7 @@ The definitions of these fields can be found in
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(["ADC", "TRACE"]) }}
{{ MACROS___make_suffix_table(["ADC", "expADC", "trace", "FA", "colFA"]) }}

<!--
This block generates a filename templates.
Expand Down Expand Up @@ -696,10 +696,10 @@ In such a case, two files could have the following names:
The user is free to choose any other label than `singleband` and
`multiband`, as long as they are consistent across subjects and sessions.

Scanner-generated TRACE and ADC volumes MAY be included using the
`TRACE` and `ADC` suffixes.
If TRACE or ADC volume filenames match a diffusion series with all applicable entities,
such volumes SHOULD be computed from that series.
Scanner-generated trace-weighted, ADC, exponentiated ADC, and fractional anisotropy (FA and colFA) volumes
MAY be included using the `trace`, `ADC`, `expADC`, `FA` and `colFA` suffixes, respectively.
If trace, ADC, expADC, FA, or colFA volume filenames match a diffusion series with all applicable entities,
such volumes SHOULD have been computed from that series.
Otherwise, some entity, such as [`acq-<label>`](../appendices/entities.md#acq),
SHOULD be used to indicate that the files are unrelated.

Expand Down
31 changes: 26 additions & 5 deletions src/schema/objects/suffixes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,12 @@
display_name: Dark-field microscopy
description: |
Dark-field microscopy imaging data
FA:
value: FA
display_name: Fractional Anisotropy image
description: |
Scanner-generated derivative parametric map
reflecting the anisotropy of the diffusion tensor
FLAIR:
value: FLAIR
display_name: Fluid attenuated inversion recovery image
Expand Down Expand Up @@ -465,11 +471,6 @@
display_name: Transmission electron microscopy
description: |
Transmission electron microscopy imaging data
TRACE:
value: TRACE
display_name: Trace diffusion weighted image
description: |
Diffusion images proportional to the trace of the diffusion tensor
UNIT1:
value: UNIT1
display_name: Homogeneous (flat) T1-weighted MP2RAGE image
Expand Down Expand Up @@ -547,6 +548,15 @@
display_name: Channels File
description: |
Channel information.
colFA:
value: colFA
display_name: Colored Fractional Anisotropy image
description: |
Scanner-derived parametric map encoding both the anisotropy and principal direction of the diffusion tensor.
Image intensity is proportional to the Fractional Anisotropy (FA) measure;
image colour is determined by the principal eigenvector of the diffusion tensor,

Check failure on line 557 in src/schema/objects/suffixes.yaml

View workflow job for this annotation

GitHub Actions / codespell

colour ==> color
effigies marked this conversation as resolved.
Show resolved Hide resolved
where red encodes the magnitude of the left-right component of that orientation,
with green and blue similarly encoding the anterior-posterior and inferior-superior components respectively.
coordsystem:
value: coordsystem
display_name: Coordinate System File
Expand Down Expand Up @@ -605,6 +615,12 @@
display_name: Events
description: |
Event timing information from a behavioral task.
expADC:
value: expADC
display_name: Exponental ADC
description: |
Exponental ADC / Attenuation Coefficient / Attenuation Factor map,
as the ratio of trace-weighted to non-diffusion-weighted image intensity
fieldmap:
value: fieldmap
display_name: Fieldmap
Expand Down Expand Up @@ -819,6 +835,11 @@
display_name: Continuous recording
description: |
Continuous measures, such as parameters of a film or audio stimulus.
trace:
value: trace
display_name: Trace-weighted diffusion image
description: |
Trace-weighted image, as the mean intensity of diffusion-weighted images
uCT:
value: uCT
display_name: Micro-CT
Expand Down
6 changes: 3 additions & 3 deletions src/schema/rules/files/deriv/imaging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ dwi_volumetric:
density: optional
description: optional

dwi_isotropic:
$ref: rules.files.raw.dwi.isotropic
dwi_scannerderivatives:
$ref: rules.files.raw.dwi.ScannerDerivatives
entities:
$ref: rules.files.raw.dwi.isotropic.entities
$ref: rules.files.raw.dwi.ScannerDerivatives.entities
space: optional
resolution: optional
density: optional
Expand Down
7 changes: 5 additions & 2 deletions src/schema/rules/files/raw/dwi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,13 @@ sbref:
chunk: optional

# Common scanner-generated derivatives need raw names
isotropic:
ScannerDerivatives:
suffixes:
- ADC
- TRACE
- FA
- colFA
- expADC
- trace
extensions:
- .nii.gz
- .nii
Expand Down