Skip to content

BOLD dtypes are larger than necessaryΒ #2157

@effigies

Description

@effigies

fMRIPrep version: 20.1.0

In [1]: import nibabel as nb

In [2]: nb.load('sourcedata/sub-02/func/sub-02_task-repeatchange_run-5_bold.nii.gz').get_data_dtype()
Out[2]: dtype('<i2')

In [3]: nb.load('fmriprep/sub-02/func/sub-02_task-repeatchange_run-5_space-T1w_desc-preproc_bold.nii.gz').get_data_dtype()
Out[3]: dtype('<f4')

In [4]: nb.load('fmriprep/sub-02/func/sub-02_task-repeatchange_run-5_space-fsLR_den-91k_bold.dtseries.nii').get_data_dtype()
Out[4]: dtype('<f8')

I feel like I remember BOLD series being saved to the original precision, but I'm not hugely concerned about that. The CIFTI series should definitely not be float64.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions