Skip to main content

Thin data spatiotemporally

Project description

thinst: Thin data spatiotemporally

Description

Thin points spatiotemporally, spatially, or temporally (hence 'thinst', 'thin' + 'ST' for spatiotemporal).
Spatial thinning will remove points so that no two points are within a given spatial threshold of each other.
Temporal thinning will remove points so that no two points are within a given temporal threshold of each other.
Spatiotemporal thinning will remove points so that no two points are within a given spatial threshold and within a given temporal threshold of each other. Accordingly, two points may overlap spatially, provided that they do not overlap temporally, and vice versa.

Thinning is set up to retain the maximum number of points.

Thinning (whether it is spatiotemporal, spatial, or temporal) is conducted with the thinst function with the type of thinning determined by the input parameters.

Simple plots of points are also included within the plots module.

Installation

pip install thinst

Import

For general use, the line below will load the function thinst from the package of the same name. from thinst import thinst

To access the underlying functions, use: from thinst.core import *

To access the plotting functions, use: from thinst.plots import *

Documentation

For more information on the thinst function (or any other function) use one of the following:
?thinst
help(thinst)

Example usage

An exemplar illustrating how to use thinst is available on GitHub at: https://github.com/JSBigelow/thinst/blob/main/exemplar.ipynb

License

MIT

Project details


Download files

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

Source Distribution

thinst-0.0.7.tar.gz (12.7 kB view details)

Uploaded Source

Built Distribution

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

thinst-0.0.7-py3-none-any.whl (12.5 kB view details)

Uploaded Python 3

File details

Details for the file thinst-0.0.7.tar.gz.

File metadata

  • Download URL: thinst-0.0.7.tar.gz
  • Upload date:
  • Size: 12.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.5

File hashes

Hashes for thinst-0.0.7.tar.gz
Algorithm Hash digest
SHA256 d60ef2297e831044bec3fb03f0a9387694579963695437f33335733d78240220
MD5 8ecef93e5ba84e8729e8d150f6550a22
BLAKE2b-256 51f5cca7430363c3596a54f512384dba8b386bc2a13f922bd4c72501e99c7739

See more details on using hashes here.

File details

Details for the file thinst-0.0.7-py3-none-any.whl.

File metadata

  • Download URL: thinst-0.0.7-py3-none-any.whl
  • Upload date:
  • Size: 12.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.5

File hashes

Hashes for thinst-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 3aec07a1d2c337fdba83568371f7cc454da2aa9b83f4caf082a5883c50ce7637
MD5 e636625db1a6e1cebbc1c3106086b47a
BLAKE2b-256 1acee33cef72d5cb3885af31f43c36d380671b5e87e71cf2c0ce32cf2015b224

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 Pingdom Monitoring Sentry Error logging StatusPage Status page