mne.label_sign_flip

mne.label_sign_flip(label, src)[source]

Compute sign for label averaging.

Parameters:

label : Label

A label.

src : list of dict

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