uvisbox.Modules.ProbabilisticMarchingTriangles.probabilistic_marching_triangles_mesh

Module Contents

uvisbox.Modules.ProbabilisticMarchingTriangles.probabilistic_marching_triangles_mesh.probabilistic_marching_triangles_mesh(summary_statistics)[source]

Identity function that passes through summary statistics.

This function exists to maintain consistency with the stats->mesh->vis pipeline architecture used in other modules, even though no mesh transformation is needed for probabilistic marching triangles.

Parameters:

summary_statistics (dict) – Contains level_crossing_probability, a 1D array of shape (n_triangles,) representing contour probability per triangle.

Returns:

level_crossing_probability – 1D array of probabilities extracted from the input dictionary.

Return type:

np.ndarray