cortex.dataset.Dataset.get_mask¶
- Dataset.get_mask(subject: str, xfmname: str, maskname: str)[source]¶
Retrieve a subject’s voxel mask from this (packed) dataset file.
- Parameters:
- subjectstr
Subject identifier, as packed into this dataset.
- xfmnamestr
Transform name the mask belongs to, as packed into this dataset.
- masknamestr
Name of the mask to retrieve.
- Returns:
- h5py.Dataset
The requested mask array, as stored in the HDF5 file.