Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

Persistent homology for people

Project description

# Ripser


Ripser is now a Python class implemented in the Scikit-learn style. It is easy to install, only requires that you have Cython installed first. It is even easier to use.

For the C++ library, see [Ripser/ripser](https://github.com/Ripser/ripser/releases/latest).


## Setup

Installation requires Cython, and currently must be installed from source. An example of how to install is
```
pip install Cython
pip install Ripser
```

We use matplotlib for generating persistence diagrams


## Usage

```
import numpy as np
from ripser import Rips
r = Rips()

data = np.random.random((100,2))
diagram = r.fit_transform(data)
r.plot(diagram)
```

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for ripser, version 0.1.4
Filename, size File type Python version Upload date Hashes
Filename, size ripser-0.1.4.tar.gz (57.6 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page