airbornegeo.get_min_max

Contents

airbornegeo.get_min_max#

get_min_max(values, robust=False, absolute=False, robust_percentiles=(0.02, 0.98))[source]#

Get a grids max and min values.

Parameters:
  • values (Series | ndarray[tuple[Any, ...], dtype[TypeVar(_ScalarT, bound= generic)]]) – values to find min or max for

  • robust (bool) – choose whether to return the 2nd and 98th percentile values, instead of the min/max

  • absolute (bool) – return the absolute min and max values, by default False

  • robust_percentiles (tuple[float, float]) – decimal percentiles to use for robust min and max, by default (0.02, 0.98)

Returns:

returns the min and max values.

Return type:

tuple[float, float]