Skip to main content

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.

Source Distribution

ripser-0.1.4.tar.gz (57.6 kB view details)

Uploaded Source

File details

Details for the file ripser-0.1.4.tar.gz.

File metadata

  • Download URL: ripser-0.1.4.tar.gz
  • Upload date:
  • Size: 57.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ripser-0.1.4.tar.gz
Algorithm Hash digest
SHA256 56c5720eb36bd7c86dc9be3555f79ae670bd622eac3f36d77457b20201f30545
MD5 57ad39b739a24a0e88da518eccbf6318
BLAKE2b-256 176a611cabc626f526b38016d0d65f4c574e455add9feefa7620a540c00486c0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page