peal.teachers.virelay_teacher.Absolute

class peal.teachers.virelay_teacher.Absolute[source]

Bases: Processor

Represents a CoRelAy processor, which computes the absolute value of its input data.

Methods

function

Computes the absolute value of the specified input data.

function(data)[source]

Computes the absolute value of the specified input data.

Parameters:

data (np.ndarray) – The input data for which the absolute value is to be computed.

Returns:

Returns the absolute value of the input data.

Return type:

np.ndarray