PyPI version Downloads Codecov License: MIT

Persim is a Python package for many tools used in analyzing Persistence Diagrams. It currently includes implementations of most of the popular methods of working with persistence diagrams, including

  • Persistence Images

  • Persistence Landscapes

  • Bottleneck distance

  • Modified Gromov–Hausdorff distance

  • Sliced Wasserstein Kernel

  • Heat Kernel

  • Diagram plotting

Setup

The latest version of persim can be found on Pypi and installed with pip:

pip install persim

Contributions

We welcome contributions of all shapes and sizes. There are lots of opportunities for potential projects, so please get in touch if you would like to help out. Everything from an implementation of your favorite distance, notebooks, examples, and documentation are all equally valuable so please don’t feel you can’t contribute.

To contribute please fork the project make your changes and submit a pull request. We will do our best to work through any issues with you and get your code merged into the main branch.

Documentation