brainspace.datasets.load_parcellation¶
-
brainspace.datasets.
load_parcellation
(name, scale=400, join=False)[source]¶ Load parcellation for conte69.
Parameters: - name ({'schaefer', 'vosdewael'}) – Parcellation name, either ‘schaefer’ for Schaefer (functional) parcellations or ‘vosdewael’ for a subparcellation of aparc.
- scale ({100, 200, 300, 400}, optional) – Number of parcels. Default is 400.
- join (bool, optional) – If False, return one array for each hemisphere. Otherwise, return a single array for both left and right hemisphere. Default is False.
Returns: parcellation (tuple of ndarrays or ndarray) – Parcellations for left and right hemispheres. If
join == True
, one parcellation with both hemispheres.