Maximum

class npdsp.Maximum(name: str | None = None)[source]

Calculate the maximum value of a signal.

Parameters:

name (str, optional) – Optional name used to identify the block within a pipeline.

process(x: NDArray[Any]) NDArray[Any][source]

Calculate the maximum value of the input signal.

Parameters:

x (Signal) – Input signal.

Returns:

Maximum value of the input signal.

Return type:

Signal