# mne.BiHemiLabel¶

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

A freesurfer/MNE label with vertices in both hemispheres.

Parameters
lhLabel

Label for the left hemisphere.

rhLabel

Label for the right hemisphere.

name

name for the label

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
lhLabel

Label for the left hemisphere.

rhLabel

Label for the right hemisphere.

name

A name for the label. It is OK to change that attribute manually.

subject

Subject the label is from.

Methods

 __add__(self, other) Add labels. __hash__(self, /) Return hash(self). __len__(self) Return the number of vertices. __sub__(self, other) Subtract labels.
__add__(self, other)[source]

__hash__(self, /)
__len__(self)[source]
__sub__(self, other)[source]