add_offset_wcs#

lsst.images.fits.add_offset_wcs(header, *, x, y, key='A')#

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) – Header to update in-place.

  • x (int | float) – Logical coordinate of the first column.

  • y (int | float) – Logical coordinate of the first row.

  • key (str, default: 'A') – Single-character suffix for this WCS.

Return type:

None

This page was last modified on .