You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
get_volume_labels_from_aseg should return label instances instead of names #14632
It would be so great to have real volumetric labels returned by the get_volume_labels_from_aseg function. Currently, this function returns a list of label names, not actual mne.Label instances.
Describe your proposed implementation
Make vol label instances and return in a list, just like read_labels_from_annot does for surface labels.
Describe possible alternatives
N/A
Additional context
Not all the volumetric labels from aseg actually contain brain (some are ventricles, etc), so we will need to decide what to do with the irrelevant options. Some may need to be BiHemi labels (e.g. "Brain-Stem" from aparc+aseg.mgz). Also, maybe we should set it to return names by default for backwards compatibility, but with the new option to return label instances?
Activity