From 54fbf7ca3389ed1d5de38760d62e27a094a979f2 Mon Sep 17 00:00:00 2001 From: Pieter Roggemans Date: Thu, 5 Sep 2024 22:34:48 +0200 Subject: [PATCH] Apply feedback --- python/doc/operations.rst | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/python/doc/operations.rst b/python/doc/operations.rst index 333c5df..f48bc03 100644 --- a/python/doc/operations.rst +++ b/python/doc/operations.rst @@ -221,11 +221,11 @@ Examples weighted by the coverage fraction of each pixel. * ``count(default_value=0)``: the sum of all pixel coverage fractions, including NODATA pixels, as they will be treated as having value 0 instead of being ignored. - * ``mean(min_coverage_frac=0.5)``: the mean value of pixels that intersect the - polygon. Only pixels with a coverage fraction of 50% or more will be considered in - the calculation and they will be weighted by the coverage fraction. - * ``mean(min_coverage_frac=0.5,coverage_weight=none)``: the mean value of pixels that - intersect the polygon. Only pixels with a coverage fraction of 50% or more will be - considered in the calculation, and they will be treated as having 100% coverage. + * ``mean(min_coverage_frac=0.5)``: the mean value of pixels having 50% or + more of their area covered by the polygon. Pixel values will be weighted by the + coverage fraction. + * ``mean(min_coverage_frac=0.5,coverage_weight=none)``: the mean value of pixels + having 50% or more of their area covered by the polygon. Pixel values will be + weighted equally (all included pixels treated as having 100% coverage). * ``mean(coverage_weight=none)``: the mean value of pixels that intersect the polygon. All pixels with any coverage will be counted as having 100% coverage.