Euclidean witness complex reference manual#

class gudhi.EuclideanWitnessComplex[source]#

Constructs (weak) witness complex for given sets of witnesses and landmarks in Euclidean space.

__init__(landmarks=None, witnesses=None)[source]#

WitnessComplex constructor.

Parameters:
  • landmarks – A list of landmarks (in the point cloud).

  • witnesses – The point cloud.

create_simplex_tree(max_alpha_square, limit_dimension=-1)[source]#
Parameters:
  • max_alpha_square (float) – The maximum alpha square threshold the simplices shall not exceed. Default is set to infinity.

  • limit_dimension (int) – Represents the maximal dimension of the simplicial complex. Default value (-1) means no limit.

Returns:

A simplex tree created from the Delaunay Triangulation.

Return type:

SimplexTree

get_point(self, vertex: int) list[float]#

This function returns the point corresponding to a given vertex.

Parameters:

vertex (int.) – The vertex.

Returns:

The point.

Return type:

list of float