smooth¶
Import in python using from mcutils.scripts.cifti.smooth import smooth
-
mcutils.scripts.cifti.smooth.
smooth
(surface, array, width, vertices=None, axis=- 1)[source]¶ Smooths the array over the surface
- Parameters
surface – Mesh representing the cortical surface
array – values on the vertices of the array
width – width of the smoothing kernel (in mm)
vertices – indices indicating which vertices have values (default: all vertices)
- Returns