Skip to content

Rename .func.gii to .time.gii? #2888

Closed
Closed
@effigies

Description

@effigies

Up to now, fMRIPrep has been generating functional time series as .func.gii files based on a probably too-hasty reading several years ago. Re-reading the GIFTI spec,

The functional file contains one or more DataArrays with Intent set to
NIFTI_INTENT_NONE or one of the statistical intent values. Each
DataArray has DataType set to NIFTI_TYPE_FLOAT32. Dimensionality is
one with the first dimension set to the number of nodes.

The Time-Series file contains one or more DataArrays with Intent set to
NIFTI_INTENT_TIME_SERIES and DataType set to
NIFTI_TYPE_FLOAT32. Dimensionality is one with the first dimension set
to the number of nodes.

It seems that "functional" to GIFTI means a statistic derived from a functional time series, while the time series itself should be .time.gii.

This comes up as we start to add expected extensions for resampled data to the BIDS specification as in bids-standard/bids-specification#1331. It seems like it would be a bad idea to have BIDS endorse a non-standard reading of GIFTI, but it's also unclear if our interpretation is what others have been using as well. Following common practice might be better than a stricter reading of the standard than anybody else does.

I'd be curious to hear the perspectives of representatives of GIFTI-supporting tools, such as @coalsont, @afni-dglen, @dngreve.


As an aside, it's not at all clear how many people are using these outputs anyway. CIFTI-2 is a far superior format for functional time series, so the number of downstream pipelines that would need to adjust could be negligible.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions