pye
pyentrp
pypi i pyentrp
pye

pyentrp

Entropy for Python

by Nikolay Donets

0.7.1 (see all)License:Apache-2.0
pypi i pyentrp
Readme

pyEntropy (pyEntrp)

|pypi| |Build Status| |codecov| |py27 status| |py36 status| |image1| |image2| |image3|

  1. Quick start_
  2. Usage_
  3. 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 shannon_entropy
  • Sample Entropy sample_entropy
  • Multiscale Entropy multiscale_entropy
  • Composite Multiscale Entropy composite_multiscale_entropy
  • Permutation Entropy permutation_entropy
  • Multiscale Permutation Entropy multiscale_permutation_entropy
  • Weighted Permutation Entropy weighted_permutation_entropy

Quick start

pip install pyentrp

Usage

.. 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)

Requirements:

  • >numpy-1.7.0

Contributors and participation

  • 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

VersionTagPublished
0.7.1
2yrs ago
0.7.0
2yrs ago
0.6.0
3yrs ago
0.5.0
4yrs ago
No alternatives found
No tutorials found
Add a tutorial
No dependencies found

Rate & Review

100
No reviews found
Be the first to rate