Tools for spatial and temporal autocorrelation
Project description
Spatiotemporal modeling tools for Python
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:
- Compute TA-Δ1 (i.e. first-order temporal autocorrelation)
- Compute SA-λ and SA-∞ (i.e. measurements of spatial autocorrelation)
- Lin's concordance
- Fingerprinting performance, from Finn et al (2015)
It will also generate surrogate timeseries for the following:
- Spatiotemporal model from Shinn et al (2023)
- Noiseless spatiotemporal model from Shinn et al (2023)
- Zalesky matching model from Zalesky et al (2012)
- Eigensurrogate model from Shinn et al (2023)
- Phase scramble null model
Installation
To install:
pip install spatiotemporal
Otherwise, download the package and do:
python setup.py install --user
System requirements are:
- Numpy
- Scipy
- Pandas
Citation
If you use this package for a paper, please cite: Shinn et al (2023)
Contact
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for spatiotemporal-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d2e9e9ae456f9b782b69169dfe63cc5925b12567c0175c56735d6f401957fb8d |
|
MD5 | 3bf152d3c066f5db5c8da11bc4bef687 |
|
BLAKE2b-256 | f3a5f502ed74c7dd7299fc79b677a97f0f307b5fb779c27827398152fc6c7d4b |