prtools.pv#

pv(a, axis=None)[source]#

Compute range of values (max - min)

Parameters:
  • a (array_like) – Input array

  • axis (None or int, optional) – Axis or axes along which the peak-to-valley is computed. The default is to compute the peak-to-valley of the flattened array.

Return type:

ndarray

See also

nanpv()