Skip to content

Tools for spatial and temporal autocorrelation

Notifications You must be signed in to change notification settings

murraylab/spatiotemporal

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 Spatial and temporal autocorrelation weave human brain networks. 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:

See complete documentation

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 (2022)

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 [email protected].

About

Tools for spatial and temporal autocorrelation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%