read_offset_wcs#

lsst.images.fits.read_offset_wcs(header, *, key='A')#

Recover the logical pixel origin from a linear offset WCS written by add_offset_wcs.

Parameters:
  • header (Header) – Header to read from.

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

Returns:

The (x, y) logical coordinates of the first column and row, or None if the header has no LINEAR WCS with this suffix.

Return type:

tuple [int, int] | None

This page was last modified on .