oineus.diff.cech_delaunay_filtration

oineus.diff.cech_delaunay_filtration(points, eps=0.0, print_time=False)[source]

Build a differentiable Cech-Delaunay filtration from a point cloud.

The combinatorics of the alpha complex are computed via diode (CGAL); the filtration values are recomputed differentiably as squared minimum enclosing ball radii of each simplex, so gradients flow back to points.

Parameters:
  • points(n, d) torch.Tensor with d in {2, 3}. Differentiable.

  • eps (float) – Small value for numerical stability in the MEB computation.

  • print_time (bool) – If True, print per-stage timings.

Returns:

DiffFiltration whose values are squared MEB radii.