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 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:

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 (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.

Metadata

Release files for spatiotemporal 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for spatiotemporal 1.0.1
File Size Uploaded Provenance Actions
spatiotemporal-1.0.1.tar.gz 10.1 kB Without provenance Details for spatiotemporal-1.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for spatiotemporal 1.0.1
File Interpreter ABI Platform Actions
spatiotemporal-1.0.1-py3-none-any.whl Python 3 none any Details for spatiotemporal-1.0.1-py3-none-any.whl

Total release size: 23.2 kB

Release files / spatiotemporal-1.0.1.tar.gz

Download URL spatiotemporal-1.0.1.tar.gz
Size 10.1 kB
Tags Source
SHA-256 checksum
How to use checksums
017f90d1057c4594ce7b3968786e5d53b7e2f593ef67d4d53094eeb659feb63f
BLAKE2b-256 checksum
How to use checksums
61b440550b22a3c2d4c565e3a33a79f9cc608ebaecb529e826a25595f60f8ad4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.3 readme-renderer/24.0 requests/2.25.1 requests-toolbelt/0.9.1 urllib3/1.26.4 tqdm/4.54.1 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.3 CPython/3.6.9

Release files / spatiotemporal-1.0.1-py3-none-any.whl

Download URL spatiotemporal-1.0.1-py3-none-any.whl
Size 13.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d2e9e9ae456f9b782b69169dfe63cc5925b12567c0175c56735d6f401957fb8d
BLAKE2b-256 checksum
How to use checksums
f3a5f502ed74c7dd7299fc79b677a97f0f307b5fb779c27827398152fc6c7d4b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.3 readme-renderer/24.0 requests/2.25.1 requests-toolbelt/0.9.1 urllib3/1.26.4 tqdm/4.54.1 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.3 CPython/3.6.9

Security for spatiotemporal 1.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page