pyrad.util.compute_quantiles#

pyrad.util.compute_quantiles(field, quantiles=None)[source]#

computes quantiles

Parameters:
  • field (ndarray 2D) – the radar field

  • ray_start, ray_end (int) – starting and ending ray indexes

  • quantiles (float array) – list of quantiles to compute

Returns:

  • quantiles (float array) – list of quantiles

  • values (float array) – values at each quantile