pylttb is an efficient implementation of Largest Triangle Threebuckets algorithm.
The algorithm was described by Sveinn Steinarsson in his master thesis. More info and original implementation can be found at this page. The code in pylttb is based on this implementation but structures computations a bit differently to leverage numpy ‘s array arithmetics.
Usage example
Supposing you have arrays of x and y all you need to do to downsample them to given threshold is:
from pylttb import lttb
down_x, down_y = lttb(x, y, threshold)
Metadata
Release files for pylttb 0.1.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pylttb-0.1.9.tar.gz | 3.5 kB | Details |
Release files / pylttb-0.1.9.tar.gz
| Download URL | pylttb-0.1.9.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
65469718f50ae91777a0851a4c07c07d1a2a5fbfa6d39d648c1fa31d1bf7f43b
|
|
BLAKE2b-256 checksum How to use checksums |
843ccaea9db5d685a4a6820bf74ab89f6a2a8b0b4ed978359021a54a020561c7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |