local_min

seas.signalanalysis.local_min(x_values: numpy.ndarray, array1d: numpy.ndarray, sig=None)Tuple[List[numpy.ndarray], List[numpy.ndarray]][source]

Finds the local min array values and their respective position (xvalues) by giving a significance cuttoff value array of the same size as the array1d, this will also return the cutoff significance at each local maxima.

Parameters
  • x_values – positional information (i.e. time, sequence, etc.)

  • array1d – data values (i.e. Dfof, etc.)

  • sig – third list, significance of signal, that is returned (in realitity this could be any array of equal len as array1d)

Returns

xvalues of where the local min data values of the local min third list of significance of where the local min