read_offset_wcs#
- lsst.images.fits.read_offset_wcs(header: Header, *, key: str = 'A') tuple[int, int] | None#
Recover the logical pixel origin from a linear offset WCS written by
add_offset_wcs.Parameters#
- header
Header to read from.
- key
Single-character suffix for the WCS to read.
Returns#
tuple[int,int] |NoneThe
(x, y)logical coordinates of the first column and row, orNoneif the header has noLINEARWCS with this suffix.