API

Import MESA as:

import mesa as ms

Multiomics

Ecospatial

ecospatial.generate_patches(spatial_data, ...)

Generate a list of patches from a spatial data object.

ecospatial.calculate_shannon_entropy(counts)

Calculate the Shannon entropy of a set of counts.

ecospatial.calculate_diversity_index(...[, ...])

Calculate the heterogeneity index for a set of patches.

ecospatial.diversity_heatmap(spatial_data, ...)

This function visualizes the heterogeneity indices as a heatmap on the original spatial data.

ecospatial.global_spatial_stats(grid[, ...])

Perform global spatial autocorrelation analysis.

ecospatial.local_spatial_stats(grid[, mode, ...])

Compute local indicators of spatial association (LISA) for local spatial autocorrelation, and return significant hotspots and coldspots.

ecospatial.calculate_MDI(spatial_data, ...)

Calculate the multiscale diversity index (MDI).

ecospatial.calculate_GDI(spatial_data, ...)

ecospatial.calculate_DPI(spatial_data, ...)

Calculate the proximity index for spatial data regions, identifying hotspots or coldspots based on diversity indices.

ecospatial.spot_cellfreq(spatial_data, ...)