This package provides tools for modeling and analyzing spatial and temporal autocorrelation in Python. It is based on the methods from the paper Functional brain networks reflect spatial and temporal autocorrelation. Included are methods to compute the following statistics:
It will also generate surrogate timeseries for the following:
To install:
pip install spatiotemporal
Otherwise, download the package and do:
python setup.py install --user
System requirements are:
If you use this package for a paper, please cite: Shinn et al (2023)
Please report bugs to https://github.com/mwshinn/spatiotemporal/issues. This includes any problems with the documentation. Pull Requests for bugs are greatly appreciated.
This package is actively maintained. However, it is feature complete, so no new features will not be added. This is intended to be a supplement for the paper, not a general purpose package for all aspects of spatiotemporal data analysis.
For all other questions or comments, contact m.shinn@ucl.ac.uk.