Focal

Apply

xrspatial.focal.apply(raster, kernel[, x, …])

Hotspots

xrspatial.focal.hotspots(raster, kernel[, x, y])

Identify statistically significant hot spots and cold spots in an input raster.

Mean

xrspatial.focal.mean(agg[, passes, …])

Returns Mean filtered array using a 3x3 window.

Focal Statistics

xrspatial.focal.annulus_kernel(cellsize_x, …)

Generates a annulus (ring-shaped) kernel of a given cellsize and radius.

xrspatial.focal.calc_cellsize(raster[, x, y])

Calculates cell size of an array based on its attributes.

xrspatial.focal.calc_mean(array)

xrspatial.focal.calc_sum(array)

xrspatial.focal.circle_kernel(cellsize_x, …)

Generates a circular kernel of a given cellsize and radius.

xrspatial.focal.custom_kernel(kernel)

Validates a custom kernel.

xrspatial.focal.upper_bound_p_value(zscore)