muspan.spatial_statistics#

The muspan.spatial_statistics module provides tools for spatial statistics of point patterns. This module includes the following submodules:

Pair-wise statistics

average_nearest_neighbour_index

Computes the average nearest neighbour index (ANNI) for between two queried populations.

cross_k_function

Calculate Ripley's K function between population_A and population_B.

cross_l_function

Calculate the L function between population_A and population_B.

cross_pair_correlation_function

Calculate the pair correlation function between population_A and population_B.

J_function

Calculate the J-function for a given spatial point pattern.

nearest_neighbour_distribution

Calculate the nearest neighbour distribution for a given population within a domain.

spherical_contact_distribution

Calculate the spherical contact distribution for a given population within a domain.

topographical_correlation_map

Compute the topographical correlation map (TCM) between two populations within a given domain.

weighted_pair_correlation_function

Calculate the weighted pair correlation function between population_A and population_B.

Spatial Autocorrelation and LISAs

getis_ord

Calculate the local Getis-Ord G* statistic for spatial autocorrelation of a continuous label.

morans_i

Calculate the local and global Moran's I statistic for a continuous label in the domain.