Skip to main content

A Lean Persistent Homology Library for Python

Project description

PyPI version Build Status codecov License: LGPL v3

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.

Details from the old readme can be found here.

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.6.tar.gz (59.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ripser-0.1.6-cp36-cp36m-macosx_10_12_x86_64.whl (48.4 kB view details)

Uploaded CPython 3.6mmacOS 10.12+ x86-64

File details

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

File metadata

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

File hashes

Hashes for ripser-0.1.6.tar.gz
Algorithm Hash digest
SHA256 cfc52576ab33774f6c095c9addff4fb4ef9561f17b70b8e862b97debd9a4301f
MD5 bb4fa1fdd113dc7b6a6fc07de69ba157
BLAKE2b-256 ded9d0fd20fbe79897e405ce2d90b72517f4f1e8e0e69c08285fb2faa95b25d1

See more details on using hashes here.

File details

Details for the file ripser-0.1.6-cp36-cp36m-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for ripser-0.1.6-cp36-cp36m-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 a7ab45ad6176376ad8965b7e49eb1c01314848a13c6010ec6d5134f95e3b9f45
MD5 6747344767cc1bf9b5df000942a02448
BLAKE2b-256 341bc82989ed476b6959761b956cfe176b0ffa50c1d486cc5e47b0defa6ccf50

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