Skip to main content

Package for identifying regular, complex, and stochastic behavior in timeseries

Project description

logo

PECCARY

PyPI License

PECCARY (Permutation Entropy and statistiCal Complexity Analysis for astRophYsics) is a pure-python package for distinguishing between regular, complex, and stochastic behavior in timeseries. It is based on the work by Bandt & Pompe (2002) , Rosso et al. (2007) , and Weck et al. (2015). This code is also based on work by collaborator David Schaffner, who wrote the initial version of some of the method, called PESCy.

In addition to calculating the Permutation Entropy ($H$) and Statistical Complexity ($C$) values, this package also has plotting tools for the $HC$-plane and visualizing the resulting $[H,C]$ values for various timeseries.

A detailed summary of the PECCARY method can be found in Hyman, Daniel, & Schaffner (arXiv:2407.11970). If you make use of PECCARY, please include a citation to Hyman, Daniel, & Schaffner (arXiv:2407.11970) in any publications.

Documentation

Documentation Status

The documentation for peccary is hosted on Read the Docs.

Installation and Dependencies

The recommended way to install the latest stable version of peccary is with pip via the terminal with the command:

>>> pip install peccary

You can also use the command:

>>> python -m pip install peccary

See the installation instructions in the documentation for more instructions.

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

peccary-0.1.1.tar.gz (830.2 kB view details)

Uploaded Source

Built Distribution

peccary-0.1.1-py3-none-any.whl (35.2 kB view details)

Uploaded Python 3

File details

Details for the file peccary-0.1.1.tar.gz.

File metadata

  • Download URL: peccary-0.1.1.tar.gz
  • Upload date:
  • Size: 830.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for peccary-0.1.1.tar.gz
Algorithm Hash digest
SHA256 766e715a25f437e46595420f4f1a2d318dcd0e12649f987056507f2536d10cb0
MD5 6bd0ecc0d0b273e974d501ab69a89c70
BLAKE2b-256 bf50e69a061282b35ec34d7587034043e2d85426f414753c7c5309f20405c204

See more details on using hashes here.

File details

Details for the file peccary-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: peccary-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 35.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for peccary-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 688e456fb079d5e214163630053f97daebb1248f0364f1caef6d10a88cff725e
MD5 c84c1f0581be7c48e21d742632fcdb4e
BLAKE2b-256 bc98162d7b0247cc9146fc6eaec18da446f5fd03e6153d839f4facd0cc8d0a37

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