Examples¶
The repository ships a collection of runnable scripts under
examples/python/.
Each corresponds to a pytest test that validates its output, so they stay
in sync with the library.
Script |
What it shows |
|---|---|
|
First steps: Freudenthal filtration, reduction, diagram. |
|
Vietoris–Rips on a point cloud. |
|
Cubical complex on a 3D array. |
|
A hand-built simplicial complex via |
|
Topology-aware optimization of a scalar field. |
|
Same, for point clouds (VR filtration). |
|
Kernel / image / cokernel persistence via KICR. |
|
Kernel / cokernel via mapping cylinder. |
|
Cone construction — the simplest relative example. |
|
Differentiable version of the cone. |
|
Differentiable mapping cylinder. |
|
Backprop through VR on a point cloud. |
|
Backprop through VR on a distance matrix. |
|
Single / multistart / progressive barycenter. |
|
Sliced Wasserstein as a differentiable loss. |
|
Persistence-aware Wasserstein matching. |
|
Visualize critical cells on a VR filtration. |
|
Visualize critical cells on an alpha filtration. |
Run any of them after installing oineus and (for the differentiable
scripts) torch:
python examples/python/example_vr.py