Statistical analysis of planar point patterns.
This package is part of PySAL: The Python Spatial Analysis Library.
This pointpats package is intended to support the statistical analysis of planar point patterns.
It currently works on cartesian coordinates. Users with data in geographic coordinates need to project their data prior to using this module.
- Build and summarize point pattern objects from coordinate data.
- Compute centrographic measures (mean center, standard distance, ellipses).
- Perform quadrat statistics for tests of complete spatial randomness.
- Use distance-based functions (G, K, L) and simulation envelopes.
- Work with marked patterns and simulated point processes.
Online documentation is available here.
Install pointpats by running:
$ pip install pointpats
pointpats development is hosted on github.
As part of the PySAL project, pointpats development follows PySAL's documentation for developers and the PySAL development guidelines.
To search for or report bugs, please see pointpats' issues.
If you have a question regarding pointpats, feel free to open an issue on GitHub or join a chat on Discord.
@software{sergio_rey_2026_20814583,
author = {Sergio Rey and
Wei Kang and
Levi John Wolf and
James Gaboardi and
eli knaap and
Martin Fleischmann and
Hu Shao and
Mridul Seth and
Sugam Srivastava and
R Virinchi and
privateAGI and
Giovanni Palla and
Dani Arribas-Bel and
Matt Richards and
Qiusheng Wu and
Taher Chegini and
stevee404},
title = {pysal/pointpats: v2.6.0},
month = jun,
year = 2026,
publisher = {Zenodo},
version = {v2.6.0},
doi = {10.5281/zenodo.20814583},
url = {https://doi.org/10.5281/zenodo.20814583},
}