mnefun.get_atlas_roi_mask¶
- mnefun.get_atlas_roi_mask(stc, roi, atlas='IXI', atlas_subject=None, subjects_dir=None)¶
Get ROI mask for a given subject/atlas.
- Parameters:
- stcinstance of
mne.SourceEstimate
ormne.VectorSourceEstimate
The source estimate.
- roi
str
The ROI to obtain a mask for.
- atlas
str
The atlas to use. Must be “IXI” or “LBPA40”.
- atlas_subject
str
|None
Atlas subject to process. Must be one of the (unwarped) subjects “ANTS3-0Months3T”, “ANTS6-0Months3T”, or “ANTS12-0Months3T”. If None, it will be inferred from the number of vertices.
- stcinstance of
- Returns:
- mask
ndarray
, shape (n_vertices,) The mask.
- mask