ordpy: A Python package for data analysis with permutation entropy and ordinal network methods
- 1 June 2021
- journal article
- research article
- Published by AIP Publishing in Chaos: An Interdisciplinary Journal of Nonlinear Science
- Vol. 31 (6), 063110
- https://doi.org/10.1063/5.0049901
Abstract
Since Bandt and Pompe’s seminal work, permutation entropy has been used in several applications and is now an essential tool for time series analysis. Beyond becoming a popular and successful technique, permutation entropy inspired a framework for mapping time series into symbolic sequences that triggered the development of many other tools, including an approach for creating networks from time series known as ordinal networks. Despite increasing popularity, the computational development of these methods is fragmented, and there were still no efforts focusing on creating a unified software package. Here, we present ordpy (http://github.com/arthurpessa/ordpy), a simple and open-source Python module that implements permutation entropy and several of the principal methods related to Bandt and Pompe’s framework to analyze time series and two-dimensional data. In particular, ordpy implements permutation entropy, Tsallis and Rényi permutation entropies, complexity–entropy plane, complexity–entropy curves, missing ordinal patterns, ordinal networks, and missing ordinal transitions for one-dimensional (time series) and two-dimensional (images) data as well as their multiscale generalizations. We review some theoretical aspects of these tools and illustrate the use of ordpy by replicating several literature results.Keywords
Other Versions
Funding Information
- Coordenação de Aperfeiçoamento de Pessoal de Nível Superior (NA)
- Conselho Nacional de Desenvolvimento Científico e Tecnológico (407690/2018-2 and 303121/2018-1)
This publication has 102 references indexed in Scilit:
- New Brodatz-Based Image Databases for Grayscale Color and Multiband Texture AnalysisISRN Machine Vision, 2013
- A vision for data scienceNature, 2013
- Permutation Entropy and Its Main Biomedical and Econophysics Applications: A ReviewEntropy, 2012
- Complexity-Entropy Causality Plane as a Complexity Measure for Two-Dimensional PatternsPLOS ONE, 2012
- Multivariate Multi-Scale Permutation Entropy for Complexity Analysis of Alzheimer’s Disease EEGEntropy, 2012
- Detection of epileptic electroencephalogram based on Permutation Entropy and Support Vector MachinesExpert Systems with Applications, 2012
- Mosaic organization of DNA nucleotidesPhysical Review E, 1994
- Determining embedding dimension for phase-space reconstruction using a geometrical constructionPhysical Review A, 1992
- Divergence measures based on the Shannon entropyIEEE Transactions on Information Theory, 1991
- Geometry from a Time SeriesPhysical Review Letters, 1980