This documentation is for development version 0.18.dev0.

mne.get_volume_labels_from_src

mne.get_volume_labels_from_src(src, subject, subjects_dir)[source]

Return a list of Label of segmented volumes included in the src space.

Parameters:
src : instance of SourceSpaces

The source space containing the volume regions

subject: str

Subject name

subjects_dir: str

Freesurfer folder of the subjects

Returns:
labels_aseg : list of Label

List of Label of segmented volumes included in src space.