Skip to main content

License: MIT

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)

Source distribution for pylttb 0.1.9
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

Release history Release notifications | RSS feed

This release

0.1.9 This release

1 release file

0.1.8

1 release file

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