Skip to main content

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 m.shinn@ucl.ac.uk.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

spatiotemporal-1.0.0.tar.gz (9.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

spatiotemporal-1.0.0-py3-none-any.whl (12.1 kB view details)

Uploaded Python 3

File details

Details for the file spatiotemporal-1.0.0.tar.gz.

File metadata

  • Download URL: spatiotemporal-1.0.0.tar.gz
  • Upload date:
  • Size: 9.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.25.1 setuptools/41.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.6.9

File hashes

Hashes for spatiotemporal-1.0.0.tar.gz
Algorithm Hash digest
SHA256 7597c5617961de1bd440e8900915f6191399ab8c909f49454f1fc5c97a95bc92
MD5 40573a3b907b88a8e7fc9959c3bd2044
BLAKE2b-256 072465f7a38a9c8f3c76892bf5d5c395d7f6a28a485ca8ff5ab1cc4a5ae29090

See more details on using hashes here.

File details

Details for the file spatiotemporal-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: spatiotemporal-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 12.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.25.1 setuptools/41.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.6.9

File hashes

Hashes for spatiotemporal-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1c9cc2d8633a08d0979fb777232889dd1c56f32225ed01a21dcce987a6a09f81
MD5 35bd19af02a4ffd6dc7097f46da42be9
BLAKE2b-256 1a0560492aa515666f60dcec58c3c48c1f22b019c39a9c184ffa6fb189fe8afd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page