get_wcs_slice_header

grizli.utils.get_wcs_slice_header(wcs, slx, sly)[source]

Generate a Header for a sliced WCS object.

Parameters
wcsWCS

The original WCS object.

slxslice

The slice along the x-axis.

slyslice

The slice along the y-axis.

Returns
hHeader

The header for the sliced WCS object.