neuromaps.transforms.mni152_to_civet
- neuromaps.transforms.mni152_to_civet(img, civet_density='41k', method='linear')[source]
Project img in MNI152 space to CIVET surface.
- Parameters:
img (str or os.PathLike or niimg_like) – Image in MNI152 space to be projected
civet_density ({'41k'}, optional) – Desired output density of CIVET surface. Default: ‘41k’
method ({'nearest', 'linear'}, optional) – Method for projection. Specify ‘nearest’ if img is a label image. Default: ‘linear’
- Returns:
civet – Projected img on CIVET surface
- Return type:
(2,) tuple-of-nib.GiftiImage