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.7.tar.gz (61.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.7-cp36-cp36m-macosx_10_12_x86_64.whl (52.6 kB view details)

Uploaded CPython 3.6mmacOS 10.12+ x86-64

File details

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

File metadata

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

File hashes

Hashes for ripser-0.1.7.tar.gz
Algorithm Hash digest
SHA256 4e46ea69a3c39ce49e442de63d00143ff269facb5ce9360f121c66e06bf3671a
MD5 3682e578d869893eb7e8797e8ffa79c9
BLAKE2b-256 ed79d3af8f50bf0439973a5c732ac20d806540ecac50116478548c7d39d0b452

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ripser-0.1.7-cp36-cp36m-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 fda66a0e97400e7b4e1edc57fdc60cf1866ea90ca7e32a95f177a8038ff36e0c
MD5 2f5d061a97b9bd2c41a127a54c13da2f
BLAKE2b-256 606caae2c63a96fb024f94482ea0ad07fc00ac1b43fd70025d893aa8b66cec21

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