onstove.RasterLayer.quantiles#
- RasterLayer.quantiles(quantiles: tuple[float]) ndarray [source]#
Computes an array based on the desired quantiles of the raster array.
It creates an array with the quantile categories of the raster array. Uses the
get_quantiles()
method.- Parameters:
- quantiles: array-like of float
Quantile or sequence of quantiles to compute, which must be between 0 and 1 inclusive.
- Returns:
- np.ndarray
Categorized array based on the quantile values of the raster array.
See also