Skip to content

SCHEMA: Add .dtseries.nii extension for resampled functional time series #1331

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

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
15 changes: 15 additions & 0 deletions src/schema/objects/extensions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,16 @@ bdf:
Each recording consists of a single `.bdf` file.
[`bdf+`](https://www.teuniz.net/edfbrowser/bdfplus%20format%20description.html) files are permitted.
The capital `.BDF` extension MUST NOT be used.
dtseriesnii:
value: .dtseries.nii
display_name: CIFTI-2 Dense Data Series
description: |
A CIFTI-2 dense data series file.

A data series file represents data points in a series for every vertex and voxel in the mapping. A
row is a complete data series, for a single vertex or voxel in the mapping that applies along the
second dimension. A data series is often a time series, but it can also represent other data types
such as a series of sampling depths along the surface normal from the white to pial surface.
bval:
value: .bval
display_name: FSL-Format Gradient Amplitudes
Expand Down Expand Up @@ -109,6 +119,11 @@ fif:
display_name: Functional Imaging File Format
description: |
An MEG file format used by Neuromag, Elekta, and MEGIN.
funcgii:
value: .func.gii
display_name: Functional GIFTI
description: |
GIFTI surface data format file.
Comment on lines +122 to +126
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Given that it's possible we should be using .time.gii instead, I think we should not hold this PR up on adding .func.gii.

Suggested change
funcgii:
value: .func.gii
display_name: Functional GIFTI
description: |
GIFTI surface data format file.

jpg:
value: .jpg
display_name: Joint Photographic Experts Group Format
Expand Down
22 changes: 22 additions & 0 deletions src/schema/rules/files/deriv/imaging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,28 @@ func_volumetric:
density: optional
description: optional

func_dtseries:
$ref: rules.files.raw.func.func
entities:
$ref: rules.files.raw.func.func.entities
space: optional
resolution: optional
density: optional
description: optional
extensions:
- .dtseries.nii

func_gifti:
$ref: rules.files.raw.func.func
entities:
$ref: rules.files.raw.func.func.entities
hemisphere: required
space: optional
density: optional
description: optional
extensions:
- .func.gii

Comment on lines +49 to +59
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
func_gifti:
$ref: rules.files.raw.func.func
entities:
$ref: rules.files.raw.func.func.entities
hemisphere: required
space: optional
density: optional
description: optional
extensions:
- .func.gii

anat_parametric_mask:
$ref: rules.files.raw.anat.parametric
suffixes:
Expand Down