cechmate.filtrations.Rips

class cechmate.filtrations.Rips(maxdim=None, verbose=True)[source]

Construct a Rips filtration and the associated diagrams.

Examples

>>> r = Rips(maxdim=1)
>>> simplices = r.build(X)
>>> diagrams = r.diagrams(simplices)
__init__(maxdim=None, verbose=True)

Default constructor

Parameters
  • maxdim (int) – Maximum dimension of homology to compute

  • verbose (boolean) – If True, then print logging statements.

Methods

__init__([maxdim, verbose])

Default constructor

build(X)

Compute the rips filtration of a Euclidean point set.

diagrams([simplices, show_inf])

Compute persistence diagrams for the simplices.