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(linearShift, affMatrix)

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

Methods Documentation

makeWcs(linearShift, affMatrix)

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

A new SkyWcs with these transforms applied is returns.

Parameters:
linearShiftnumpy.ndarray, (2,)

A linear shift to apply at the same time as applying the affine matrix transform.

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.