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.9.tar.gz (3.5 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for pylttb-0.1.9.tar.gz
Algorithm Hash digest
SHA256 65469718f50ae91777a0851a4c07c07d1a2a5fbfa6d39d648c1fa31d1bf7f43b
MD5 28915751073553d156a374b6d556521b
BLAKE2b-256 843ccaea9db5d685a4a6820bf74ab89f6a2a8b0b4ed978359021a54a020561c7

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