Examples
Flood PH of noisy torus points
In the following example, we sample n_pts=1000000
points from a noisy torus in 3D, then
construct the Flood complex on top of n_lms=1000
landmarks (see Illustration
) and compute persistent
homology (up to dimension 3) using gudhi
based on the constructed filtered Flood simplicial complex.
Importantly, one can either call flood_complex
with the already pre-selected
(here via FPS) landmarks, or one can just specify the number of desired landmarks, e.g.,
via
in which case FPS is called internally.