from_hdf5

Import in python using from mcutils.utils.cifti import from_hdf5

mcutils.utils.cifti.from_hdf5(group: h5py.Group) → Tuple[h5py.Dataset, Sequence[nibabel.cifti2.cifti2_axes.Axis]][source]

Reads a CIFTI array from the HDF5 format

Parameters

group – HDF5 group the data was stored in

Returns

tuple with data array (still on disk) and sequence of axes