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.5.tar.gz (12.1 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.5-py3-none-any.whl (11.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for thinst-0.0.5.tar.gz
Algorithm Hash digest
SHA256 3b7fe4cae215af4f421707ca884f9b2eacb4bd6896dfcc08cd7abdebba9b12e8
MD5 093ffd1175da54d1eb9afc47f04b4ec3
BLAKE2b-256 7d23bd6ee5847512a307972cfa68e4cfab37ce514781cc0acbe788b9bd49240c

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for thinst-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 2698b7c5fbc05fb1cb79a0e39416cb23b70488e4d537635ab81364a1fdbd1890
MD5 bafbe6f7af6ab79335e95a3f0076c6ee
BLAKE2b-256 ceefe67709b852e15e3f2192adb507b7db172d21b24913b30503780c5a9ad5a4

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