cortex.utils.get_roi_mask

cortex.utils.get_roi_mask(subject, xfmname, roi=None, projection='nearest')[source]

Return a mask for the given ROI(s)

Deprecated - use get_roi_masks()

Parameters
subjectstr

Name of subject

xfmnamestr

Name of transform

roituple

Name of ROI(s) to get masks for. None gets all of them.

projectionstr

Which mapper to use.

Returns
——-
outputdict

Dict of ROIs and their masks