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_wcs
lsst.afw.geom.SkyWcs
WCS to decompose and append affine matrix and shift in on sky location to.
- input_sky_wcs
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:
- linearShift
numpy.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.
- linearShift
- Returns:
- outputWcs
lsst.afw.geom.SkyWcs
Wcs with a final shift and affine transform applied.
- outputWcs