CubicalRipser adapts Ripser to cubical complexes, computing persistent homology of 1D time series, 2D images and 3D/4D volumes with coefficients in F₂. It ships C++ command-line programs and a Python package.
Features:
- V- and T-constructions of the cubical filtration
- Locations of the cells that create and destroy each class, and optional representative cycles
- Zigzag persistence of time-varying binary masks, such as segmented videos or time-lapse data
- Persistence diagram plots, persistence images and conversion to GUDHI diagrams
- PyTorch integration for differentiable persistent homology, and Wasserstein distances between diagrams
The Python package can be installed with
pip install cripser