pyFM.eval.evaluate.coverage

pyFM.eval.evaluate.coverage(p2p, A)

Compute the coverage of a vertex to vertex map.

The map goes from the target shape to the source shape.

Parameters:
  • p2p ((n2,) np.ndarray) – Vertex to vertex map giving the index of the matched vertex on the source shape for each vertex on the target shape (from a functional map point of view).

  • A ((n1, n1) or (n1,) np.ndarray) – Area matrix on the source shape or array of per-vertex areas.

Returns:

coverage – Coverage of the vertex to vertex map.

Return type:

float