GreyOrdinates.surface¶
-
GreyOrdinates.surface(anatomy, fill=nan, partial=False)[source]¶ Gets a specific surface
Parameters: - anatomy – BrainStructure or string like ‘CortexLeft’ or ‘CortexRight’
- fill – which value to fill the array with if not all vertices are defined
- partial – only return the part of the surface defined in the greyordinate file (ignores fill if set)
Returns: - if not partial: (…, n_vertices) array
- if partial: (N, ) int array with indices on the surface included in (…, N) array