stnmf.spatial.moransi
- stnmf.spatial.moransi(image, p_value=False)
Compute Moran’s I (spatial autocorrelation)
- Parameters:
image (
(sx,sy) array_like, or(r,sx,sy) array_like) – Two-dimensional image, or stack of r two-dimensional imagesp_value (
bool, optional) – Return the p-value (significance) of the autocorrelation. Default is False
- Returns:
- Raises:
ValueError – If image is neither two- nor three-dimensional.
References