Expand description
Topological Data Analysis (TDA) — persistent homology utilities.
Provides Vietoris–Rips filtration for 0- and 1-dimensional persistent homology, bottleneck and Wasserstein distances between persistence diagrams, Betti numbers, Euler characteristic, cubical complexes, and persistence entropy.
Structured types: VietorisRips, SimplexTree, PersistenceDiagram,
BarcodeSummary, and MapperGraph.
Structs§
- Barcode
Summary - Summary statistics derived from a persistence barcode.
- Betti
Numbers - Betti numbers β₀, β₁, β₂ of a topological space.
- Filtered
Simplex - A simplex with its filtration value.
- Mapper
Graph - Mapper graph: nodes (clusters) connected when adjacent cover intervals share common points.
- Mapper
Node - A node in a Mapper graph.
- Persistence
Diagram - A persistence diagram: a collection of birth-death pairs.
- Persistent
Interval - A bar in a persistence diagram:
[birth, death)for homology class H_k. - Simplex
Edge - A weighted undirected edge in a simplicial filtration.
- Simplex
Tree - Simplex tree data structure for filtration-based TDA.
- Union
Find - Union–Find (disjoint-set) data structure for Kruskal’s algorithm.
- Vietoris
Rips - Vietoris–Rips complex construction from a 2-D point cloud.
Functions§
- bottleneck_
distance - Bottleneck distance between two persistence diagrams.
- cubical_
complex_ 1d - Compute Betti numbers of the sublevel set
{x : signal[i] ≤ threshold}. - euler_
characteristic - Euler characteristic χ = β₀ − β₁ + β₂.
- persistence_
entropy - Entropy of a persistence diagram.
- vietoris_
rips_ h0 - Compute 0-dimensional persistent homology of the Vietoris–Rips filtration
up to
max_rusing Kruskal’s algorithm. - vietoris_
rips_ h1_ approx - Approximate 1-dimensional persistent homology (loops) of the Vietoris–Rips filtration.
- wasserstein_
distance_ 1 - 1-Wasserstein (Earth Mover’s) distance between two persistence diagrams.