Skip to content

rsautter/Eta

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Eta (η)

η is a package for computing entropy in matrices. It encompasses the following attributes:

  1. Probability Measurement (Histogram, Spactral and Permutation)
  2. Entropic Form (Shannon, Tsallis and Power-Law Tsallis)

Requirements

  • Numpy
  • Ordpy

Install

pip install ordpy
pip install git+https://github.com/rsautter/eta/

Simple Example

The following script provides the all entropy measurements of a random matrix:

import numpy
import eta
mat = np.random.rand(256*256).reshape(256,256)
eta.entropy(mat)

Reference

[1] Pessa, A. A., & Ribeiro, H. V. (2021). ordpy: A Python package for data analysis with permutation entropy and ordinal network methods. Chaos: An Interdisciplinary Journal of Nonlinear Science, 31(6).

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published