combine_footprints

stcal.alignment.combine_footprints(footprints)[source]

Combine a list of footprints into one or more combined footprints using a Shapely union.

Parameters:

footprints (list of np.ndarray) – List of footprints, where each footprint is a 2-D array of shape (N, 2).

Returns:

List of combined footprints, where each footprint is a 2-D array of shape (M, 2).

Return type:

list of np.ndarray