brainspace.datasets.load_mask

brainspace.datasets.load_mask(name='midline', join=False)[source]

Load mask for conte69.

Parameters:
  • name ({'midline', 'temporal'} or None, optional) – Region name. If ‘midline’, load mask for all cortex. Default is ‘midline’.
  • join (bool, optional) – If False, return one array for each hemisphere. Otherwise, return a single array for both left and right hemispheres. Default is False.
Returns:

mask (tuple of ndarrays or ndarray) – Boolean masks for left and right hemispheres. If join == True, one mask with both hemispheres.