add_offset_wcs#

lsst.images.fits.add_offset_wcs(header: Header, *, x: int | float, y: int | float, key: str = 'A') None#

Add a trivial FITS WCS to a header that applies the appropriate offset to map FITS array coordinates to a logical pixel grid.

Parameters#

header

Header to update in-place.

x

Logical coordinate of the first column.

y

Logical coordinate of the first row.

key

Single-character suffix for this WCS.