rereference#

class processing.rereference.ReReferencer(sfreq: float, channels: DataFrame)[source]#
process(data: ndarray) ndarray[source]#

Rereference data according to the initialized ReReferencer class.

Parameters:

data (numpy ndarray) – shape(n_channels, n_samples) - data to be rereferenced.

Returns:

shape(n_channels, n_samples) - rereferenced data

Return type:

reref_data (numpy ndarray)