utils.cifti

Documentation

Functions

axis_from_hdf5(group)

Stores the information from an axis in HDF5 group

axis_to_hdf5(group, axis)

Stores the information from an axis in HDF5 group

combine(brain_models)

Find the common space of multiple BrainModel axes

empty_hdf5(group, axes[, dtype, compression])

Creates a new HDF5 group with an empty dataset

empty_zarr(group, axes[, dtype, compressor])

Creates a new zarr group with an empty dataset

from_hdf5(group)

Reads a CIFTI array from the HDF5 format

guess_extension(axes)

Guesses the extension based on the CIFTI axes

to_hdf5(group, arr, axes[, compression])

Store the CIFTI array in an HDF5 format

write(filename, arr, axes)

Writes a CIFTI file guessing the extension of the filename