|pypi| |Build Status| |codecov| |py27 status| |py36 status| |image1| |image2| |image3|
Quick start
_Usage
_Contributors and participation
_This is a small set of functions on top of NumPy that help to compute different types of entropy for time series analysis.
shannon_entropy
sample_entropy
multiscale_entropy
composite_multiscale_entropy
permutation_entropy
multiscale_permutation_entropy
weighted_permutation_entropy
pip install pyentrp
.. code:: python
from pyentrp import entropy as ent import numpy as np
ts = [1, 4, 5, 1, 7, 3, 1, 2, 5, 8, 9, 7, 3, 7, 9, 5, 4, 3] std_ts = np.std(ts) sample_entropy = ent.sample_entropy(ts, 4, 0.2 * std_ts)
>numpy-1.7.0
Nikolay Donets
_Jakob Dreyer
_Raphael Vallat
_Christopher Schölzel
_Sam Dotson
_Contributions are very welcome, documentation improvements/corrections, bug reports, even feature requests :)
.. _Quick start: #quick-start .. _Usage: #usage .. _Contributors and participation: #contribution-and-participation .. _Nikolay Donets: https://github.com/nikdon .. _Jakob Dreyer: https://github.com/jakobdreyer .. _Raphael Vallat: https://github.com/raphaelvallat .. _Christopher Schölzel: https://github.com/CSchoel .. _Sam Dotson: https://github.com/samgdotson
.. |pypi| image:: https://img.shields.io/badge/pypi-0.7.1-green.svg :target: https://pypi.python.org/pypi/pyentrp/0.7.1 .. |Build Status| image:: https://travis-ci.org/nikdon/pyEntropy.svg?branch=master :target: https://travis-ci.org/nikdon/pyEntropy .. |codecov| image:: https://codecov.io/gh/nikdon/pyEntropy/branch/master/graph/badge.svg :target: https://codecov.io/gh/nikdon/pyEntropy .. |py27 status| image:: https://img.shields.io/badge/python2.7-supported-green.svg .. |py36 status| image:: https://img.shields.io/badge/python3.6-supported-green.svg .. |image1| image:: https://img.shields.io/badge/python3.7-supported-green.svg .. |image2| image:: https://img.shields.io/badge/python3.8-supported-green.svg .. |image3| image:: https://img.shields.io/badge/python3.9-supported-green.svg
Version | Tag | Published |
---|---|---|
0.7.1 | 2yrs ago | |
0.7.0 | 2yrs ago | |
0.6.0 | 3yrs ago | |
0.5.0 | 4yrs ago |