smooth_cifti¶
Import in python using from mcutils.scripts.cifti.smooth import smooth_cifti
-
mcutils.scripts.cifti.smooth.
smooth_cifti
(arr, axes, surfaces, width, overwrite=False)[source]¶ Smooths a CIFTI array across provided surfaces
- Parameters
arr – input array (overwritten if overwrite is True)
axes – CIFTI axes for the array
surfaces – tuple of left & right surface (None if not smoothing on that surface)
width – width of the smoothing kernel (in mm)
overwrite – if True overwrites the input array (saves memory)
- Returns
smoothed array