cortex.dataset.Dataset.get_overlay¶
- Dataset.get_overlay(subject: str, type: str = 'rois', **kwargs) _TemporaryFileWrapper[source]¶
Retrieve a subject’s overlay (currently only ROIs) from this (packed) dataset file.
- Parameters:
- subjectstr
Subject identifier, as packed into this dataset.
- typestr, optional
Overlay type to retrieve. Only ‘rois’ is currently supported. Default ‘rois’.
- Returns:
- tempfile.NamedTemporaryFile
A temporary file containing the overlay’s SVG data, seeked to the start.