The sublevel Flood bifiltration: towards scalable 2-parameter persistent homology
This repository contains the code for the manuscript Sublevel Flood bifiltration: scalable 2-parameter persistent homology. The aim is to provide a way to compute 2-parameter persistent homology of large scale point clouds (up to $10^6$). To do so, it extends the Flood filtration to the 2-parameter context.
The Python package constructs a SimplexTreeMulti from the multipers library.
Installation
sublevel-flood can be installed via PyPI.
pip install sublevel-flood
Usage
The following example computes the sublevel Flood bifiltration (with 100 landmarks) of a point set in $\mathbb{R}^3$ distributed as a sphere with ambient noise, using CUDA. Then, it computes and plots its multiparameter module approximation with multipers.
import slflood
from slflood.data import noisy_sphere_data
import matplotlib.pyplot as plt
import multipers
n_pts = 10000
n_lms = 100
dim = 3
pts, lms_idx, fun = noisy_sphere_data(n_pts, n_lms, dim,
bandwidth=0.2)
slf = slflood.slflood_bifiltration(pts.cuda(), lms_idx.cuda(), fun.cuda())
mma = multipers.module_approximation(slf)
mma.plot(box=[[0, 0], [1, 1]])
plt.show()
Citation
@inproceedings{clemot2026sublevel,
title={The sublevel {Flood} bifiltration: towards scalable 2-parameter persistent homology},
author={Cl{\'e}mot, Matt{\'e}o and Digne, Julie and Tierny, Julien},
year={2026},
booktitle={NeurIPS},
}
Metadata
Release files for sublevel-flood 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| sublevel_flood-0.1.tar.gz | 49.8 kB | Without provenance | Details for sublevel_flood-0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sublevel_flood-0.1-py3-none-any.whl | Python 3 | none | any | Details for sublevel_flood-0.1-py3-none-any.whl |
Total release size: 65.2 kB
Release files / sublevel_flood-0.1.tar.gz
| Download URL | sublevel_flood-0.1.tar.gz |
|---|---|
| Size | 49.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
963a89e6fe63432e3335c45c21ee311dad5c7e84bafcbac2c940bc87a46d57fe
|
|
BLAKE2b-256 checksum How to use checksums |
7365a81f357802aa084036910d17905774fb07089c03bada1d9bbb9ce33e2de4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.13
|
Release files / sublevel_flood-0.1-py3-none-any.whl
| Download URL | sublevel_flood-0.1-py3-none-any.whl |
|---|---|
| Size | 15.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
795127b81f695c6a39c0922c0d8d979ae09bea3575022b55288c1b6feead7632
|
|
BLAKE2b-256 checksum How to use checksums |
5bce501391c33f7049c5b0afbbedc61a1d45b70e8a28356c7b5e727fac457f6e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.13
|
Security for sublevel-flood 0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.