vampire.processing.get_mean_aligned_contour#

vampire.processing.get_mean_aligned_contour(aligned_contours_flat)[source]#

Compute mean of aligned contours.

Parameters:
aligned_contours_flatndarray

Flattened aligned contours, with shape (n_contours, 2*n_points).

Returns:
mean_contour_flatndarray

Flattened mean contours, with size 2*n_points.