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.6.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.6-py3-none-any.whl (11.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: thinst-0.0.6.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.6.tar.gz
Algorithm Hash digest
SHA256 62971ee034e524621fba657976d953287c4a1112278fcf4623f32de34993744d
MD5 3cb98a8501dd1d644ae6a8a4ba39135d
BLAKE2b-256 af89e9613ab1295b1e66cbfb7aa8db86f7089ed71084fd3a0ed9f1ab9431a264

See more details on using hashes here.

File details

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

File metadata

  • Download URL: thinst-0.0.6-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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 cf13d121bfe9d1250f6a96bddfa4065a5b36d47dc9fea0929f2414464afa3bb1
MD5 7c8fff5db4f7d13dbcfb870939226a6f
BLAKE2b-256 a682cd7a1f9444262f2419254dd463011e634296d049895767802639930ed8e9

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