Zonalstats.with_outliers

Zonalstats.with_outliers(sigma: float)[source]

Set up the computation of outliers

Parameters:

sigma (float) – Distance to the mean value to consider a pixel as an outlier (expressed in sigma, e.g. the value 2 means that pixels values greater than mean value + 2 * std are outliers)

Returns:

the current instance so that it is possible to chain the with… calls (fluent API)

Return type:

eolab.georastertools.Zonalstats