cortex.utils.get_cortical_mask¶
-
cortex.utils.
get_cortical_mask
(subject, xfmname, type='nearest')[source]¶ Gets the cortical mask for a particular transform
- Parameters
- subjectstr
Subject name
- xfmnamestr
Transform name
- typestr
Mask type, one of {‘cortical’,’thin’,’thick’, ‘nearest’}. ‘cortical’ is exactly the cortical ribbon, between the freesurfer-estimated white matter and pial surfaces; ‘thin’ is < 2mm away from fiducial surface; ‘thick’ is < 8mm away from fiducial surface. ‘nearest’ is nearest voxel only (??)
- Returns
- maskarray
boolean mask array for cortical voxels in functional space