spatial_stats.hpp

Functions for calculating various spatial statistics.

Note

Status: BETA

Functions

template<typename ORG>
double GridPointDensity(World<ORG> &w, size_t xid, size_t yid, int neighborhood_size = 2)
template<typename ORG>
double GridPointShannonEntropy(World<ORG> &w, size_t xid, size_t yid, int neighborhood_size = 2)
template<typename ORG>
vector<vector<double>> GridDensity(World<ORG> &w, int neighborhood_size = 2)
template<typename ORG>
vector<vector<double>> GridShannonEntropy(World<ORG> &w, int neighborhood_size = 2)