prtools.nanpv#

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

Compute range of values (max - min), ignoring any NaNs.

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

pv()