offset_wcs

jwst.extract_2d.nirspec.offset_wcs(slit_wcs)[source]

Prepend a shift transform to the slit WCS to account for subarrays.

Parameters:
slit_wcsWCS

The WCS for this slit.

Returns:
xlo, xhi, ylo, yhituple of float

Indices of the bounding box of the WCS.