Annotate persistence barcodes with data attributes on simplices.
This branch is for usage under Python 3. The persistent homology dependencies have been updated and are much easier to install.
This code depends on a persistent (co)homology software Dionysus 2 and its utility for alpha complex filtration Diode and some common Python packages: numpy
, scipy
, matplotlib
.
- Install CGAL and cmake. E.g. in Ubuntu:
sudo apt install cmake libcgal-dev
-
Install the python dependencies.
-
Install this package by running
pip install $ThisDir
.
A jupyter notebook is included in the examples folder showing various examples.
[1] Zixuan Cang and Guo-Wei Wei. "Persistent cohomology for data with multicomponent heterogeneous information." SIAM Journal on Mathematics of Data Science 2.2 (2020): 396-418.