Skip to main content

pylttb - downsampling of given series using Largest Triangle Three Buckets method.

Project description

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)

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

pylttb-0.1.8.tar.gz (3.5 kB view details)

Uploaded Source

File details

Details for the file pylttb-0.1.8.tar.gz.

File metadata

  • Download URL: pylttb-0.1.8.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pylttb-0.1.8.tar.gz
Algorithm Hash digest
SHA256 c0d36a80ccb9cc813ab1670d341a7ad86ad2933008931cf410a3302ee7941652
MD5 fa375e24e1b0c3084bc62eeb563db1a8
BLAKE2b-256 210b40c188985d2a42baa92cd8eeb056118b849318b52b33c7203e0e8044b3ef

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page