rectify#

pyCGM2.Signal.signal_processing.rectify(array: ndarray)#

Rectifies a signal by taking the absolute value of each element.

Parameters:

array (np.ndarray) – The input array containing the signal data.

Returns:

np.ndarray – The rectified signal.