mne.label_sign_flip

mne.label_sign_flip(label, src)[source]

Compute sign for label averaging.

Parameters
labelLabel | BiHemiLabel

A label.

srcSourceSpaces

The source space over which the label is defined.

Returns
fliparray

Sign flip vector (contains 1 or -1).

Examples using mne.label_sign_flip