sregion_to_footprint

stcal.alignment.sregion_to_footprint(s_region: str) ndarray[source]

Parse the s_region string and return the footprint as an Nx2 array.

Parameters:

s_region (str) – The S_REGION header keyword

Returns:

footprint – A 2D array of the footprint of the region, shape (N, 2)

Return type:

np.ndarray