TransformedSkyWcsMaker

class lsst.meas.astrom.TransformedSkyWcsMaker(inputSkyWcs)

Bases: object

Convenience class for appending a shifting an input SkyWcs on sky and appending an affine transform.

The class assumes that all frames are sequential and are mapped one to the next.

Parameters
input_sky_wcslsst.afw.geom.SkyWcs

WCS to decompose and append affine matrix and shift in on sky location to.

Methods Summary

makeWcs(crvalOffset, affMatrix)

Apply a shift and affine transform to the WCS internal to this class.

Methods Documentation

makeWcs(crvalOffset, affMatrix)

Apply a shift and affine transform to the WCS internal to this class.

A new SkyWcs with these transforms applied is returns.

Parameters
crval_shiftnumpy.ndarray, (2,)

Shift in radians to apply to the Wcs origin/crvals.

aff_matrix‘numpy.ndarray’, (3, 3)

Affine matrix to apply to the mapping/transform to add to the WCS.

Returns
outputWcslsst.afw.geom.SkyWcs

Wcs with a final shift and affine transform applied.