visbrain.utils.rereferencing¶
-
visbrain.utils.
rereferencing
(data, chans, reference, to_ignore=None)[source][source]¶ Re-reference data.
- Parameters
- dataarray_like
The array of data of shape (nchan, npts).
- chanslist
List of channel names of length nchan.
- referenceint
The index of the channel to consider as a reference.
- to_ignorelist | None
List of channels to ignore in the re-referencing.
- Returns
- datararray_like
The re-referenced data.
- channelsrlist
List of re-referenced channel names.
- considerlist
List of boolean values of channels that have to be considered during the ploting processus.