cechmate.filtrations.Alpha¶
-
class
cechmate.filtrations.
Alpha
(maxdim=None, verbose=True)[source]¶ Construct an Alpha filtration from the given data.
Note
Alpha filtrations use radius instead of diameter. Multiply results or X by 2 when comparing the filtration to Rips or Cech.
Examples
>>> r = Alpha() >>> 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)Do the Alpha filtration of a Euclidean point set (requires scipy)
diagrams
([simplices, show_inf])Compute persistence diagrams for the simplices.
Attributes
MIN_DET
-