pyhctsa.operations.distribution.min_max

pyhctsa.operations.distribution.min_max(y, min_or_max='max')

The maximum and minimum values of the input data vector.

Parameters:
y : array-like

Input time series or data vector

minOrMax : str, optional

Return either the minimum or maximum of y. Default is ‘max’:

  • ’min’: minimum of y

  • ’max’: maximum of y

min_or_max : str

Returns:

The calculated min or max value.

Return type:

float