ordpy: A Python package for data analysis with permutation entropy and ordinal network methods

Arthur A. B. Pessa, Haroldo V. Ribeiro
2/12/2021
physics.data-an

Official code: arthurpessa/ordpy (117 stars, Python, MIT, last commit 2026-08-27).

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.

Show full abstract

Despite the 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, 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.

View on arXivView PDF

Code Implementations(1)

arthurpessa/ordpyOfficial100%
MIT

A Python package for data analysis with permutation entropy and ordinal network methods.

11718PythonAug 6, 20203 months agoMIT

Similar Papers

Cite this paper

@article{pessa2021ordpy,
  title  = {ordpy: A Python package for data analysis with permutation entropy and ordinal network methods},
  author = {Arthur A. B. Pessa and Haroldo V. Ribeiro},
  year   = {2021},
  eprint = {2102.06786},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2102.06786}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2102.06786.svg)](https://codeofpaper.com/paper/2102.06786)

Discussion