This documentation is for development version 0.18.dev0.

mne.label_sign_flip

mne.label_sign_flip(label, src)[source]

Compute sign for label averaging.

Parameters:
label : Label | BiHemiLabel

A label.

src : SourceSpaces

The source space over which the label is defined.

Returns:
flip : array

Sign flip vector (contains 1 or -1)

Examples using mne.label_sign_flip