Skip to main content

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

Metadata

Release files for thinst 0.0.8

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

Source distribution (sdist)

Source distribution for thinst 0.0.8
File Size Uploaded
thinst-0.0.8.tar.gz 12.7 kB Details

Built distribution (wheel)

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

Total release size: 25.1 kB

Release files / thinst-0.0.8.tar.gz

Download URL thinst-0.0.8.tar.gz
Size 12.7 kB
Tags Source
SHA-256 checksum
How to use checksums
cad73b3130c87301dd41252f13fcf570aa5294d304f66a26c4a52cc070d56d34
BLAKE2b-256 checksum
How to use checksums
77f6b70cf89dfdd29323a5f7753a8b2e25367a9630683c4a7305dacc61d29a5e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.3

Release files / thinst-0.0.8-py3-none-any.whl

Download URL thinst-0.0.8-py3-none-any.whl
Size 12.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ac9ffa200dd52085b754c58f28542b0296fc3a46c347a40041cdc679cd1bae54
BLAKE2b-256 checksum
How to use checksums
7f86b4361032422a83672ea6b76718f6e2151688e56d91832b0f76470551536d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.3

Release history Release notifications | RSS feed

This release

0.0.8 This release

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

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