neuromaps.images.load_gifti

neuromaps.images.load_gifti(img)[source]

Load gifti file img.

Will try to gunzip img if gzip is detected, and will pass pre-loaded GiftiImage object

Parameters:

img (os.PathLike or nib.GiftiImage object) – Image to be loaded

Returns:

img – Loaded GIFTI images

Return type:

nib.GiftiImage