Skip to main content

Python package finding peaks and valleys of time series data.

Project description

ZigZag provides functions for identifying the peaks and valleys of a time series. Additionally, it provides a function for computing the maximum drawdown.

If numba can be imported, it will be used to greatly accelerate the execution time at the cost of a small initial compile. On my machine, the JIT’d code executed about 38 times faster than the pure Python code. Numba is not an install_requires package because numba can be a pain to install for some people. Learn more about numba here.

For fastest understanding, view the IPython notebook demo tutorial.

Contributing

This is an admittedly small project. Still, if you have any contributions, please fork this project on github and send me a pull request. You can email me, John B Nelson, at jbn@pathdependent.com with any questions.

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

ZigZag-0.1.2.tar.gz (2.8 kB view details)

Uploaded Source

File details

Details for the file ZigZag-0.1.2.tar.gz.

File metadata

  • Download URL: ZigZag-0.1.2.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ZigZag-0.1.2.tar.gz
Algorithm Hash digest
SHA256 d3a9560071469993a1fabec37ff67a4141a75ed21d0ce0a1c3270f38084cd992
MD5 d81eb3fc9a2c64b95978ea1213b9e2a9
BLAKE2b-256 1d75592e172b937b068d1fc3773442c75b600f2967a2964a535f755cc9861ec7

See more details on using hashes here.

Supported by

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