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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| thinst-0.0.8.tar.gz | 12.7 kB | Without provenance | Details for thinst-0.0.8.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| thinst-0.0.8-py3-none-any.whl | Python 3 | none | any | Details for thinst-0.0.8-py3-none-any.whl |
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
|
Security for thinst 0.0.8
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.