Skip to content

Compute persistent homology with coefficients in the field Z/2Z

Notifications You must be signed in to change notification settings

MB-29/topological_persistence

Repository files navigation

Compute persistent homology of a point cloud given a filtration file.

Input

The required format for filtrations is

birth_time dimension first_vertex_index second_vertex_index ...

See filtrations/ folder for examples.

Code

Code in td5.py computes homology by building and reducing boundary matrix and outputs barcode images.

Output

The code output barcodes like those in folder barcodes/.

Barcode of the 4-sphere