peal.teachers.virelay_teacher.SumChannel

class peal.teachers.virelay_teacher.SumChannel[source]

Bases: Processor

Represents a CoRelAy processor, which sums its input data across channels, i.e., its second axis.

Methods

function

Applies the summation over the channels to the input data.

function(data)[source]

Applies the summation over the channels to the input data.

Parameters:

data (np.ndarray) – The input data that is to be summed over its channels.

Returns:

Returns the data that was summed up over its channels.

Return type:

np.ndarray