https://github.com/scikit-tda/persim
Distances and representations of persistence diagrams
https://github.com/scikit-tda/persim
bottleneck-distance homology persistence-diagrams persistence-image persistence-images python sliced-wasserstein-distance tda topology
Last synced: 3 months ago
JSON representation
Distances and representations of persistence diagrams
- Host: GitHub
- URL: https://github.com/scikit-tda/persim
- Owner: scikit-tda
- License: mit
- Created: 2018-04-10T19:23:54.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2026-01-19T13:13:08.000Z (5 months ago)
- Last Synced: 2026-01-19T19:42:37.644Z (5 months ago)
- Topics: bottleneck-distance, homology, persistence-diagrams, persistence-image, persistence-images, python, sliced-wasserstein-distance, tda, topology
- Language: Python
- Homepage: https://persim.scikit-tda.org
- Size: 10.5 MB
- Stars: 132
- Watchers: 6
- Forks: 56
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
[](https://badge.fury.io/py/persim)

[](https://anaconda.org/conda-forge/persim)
[](https://anaconda.org/conda-forge/persim)
[](https://codecov.io/gh/scikit-tda/persim)
[](https://opensource.org/licenses/MIT)

Persim is a Python package for many tools used in analyzing Persistence Diagrams. It currently houses implementations of
- 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
```
## Documentation and Usage
Documentation about the library, it's API, and examples of how to use it can be found at [persim.scikit-tda.org](http://persim.scikit-tda.org).
## 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.