[docs]
def probabilistic_marching_squares_mesh(summary_statistics):
"""
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 squares.
Parameters:
-----------
summary_statistics : dict
Dictionary containing:
- 'level_crossing_probability': np.ndarray
2D array of shape (y_dim-1, x_dim-1) representing the probability
of contour presence in each cell.
Returns:
--------
level_crossing_probability : np.ndarray
2D array of probabilities extracted from the input dictionary.
"""
return summary_statistics['level_crossing_probability']