mne.BiHemiLabel

class mne.BiHemiLabel(lh, rh, name=None, color=None)[source]

A freesurfer/MNE label with vertices in both hemispheres.

Parameters:

lh : Label

Label for the left hemisphere.

rh : Label

Label for the right hemisphere.

name : None | str

name for the label

color : None | matplotlib color

Label color and alpha (e.g., (1., 0., 0., 1.) for red). Note that due to file specification limitations, the color isn’t saved to or loaded from files written to disk.

Attributes

lh (Label) Label for the left hemisphere.
rh (Label) Label for the right hemisphere.
name (None | str) A name for the label. It is OK to change that attribute manually.
subject (str | None) Subject the label is from.

Methods

__add__(other) Add labels.
__hash__() <==> hash(x)
__len__() Return the number of vertices.
__sub__(other) Subtract labels.
__add__(other)[source]

Add labels.

__hash__() <==> hash(x)
__len__()[source]

Return the number of vertices.

__sub__(other)[source]

Subtract labels.