neuromaps.images.dlabel_to_gifti

neuromaps.images.dlabel_to_gifti(parcellation)[source]

Convert CIFTI dlabel file to GIFTI images.

Parameters:

parcellation (str or os.PathLike) – Path to CIFTI parcellation file (.dlabel.nii)

Returns:

gifti – Converted GIFTI images

Return type:

tuple-of-nib.GiftiImage