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
(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_shift
numpy.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.
- crval_shift
- Returns:
- outputWcs
lsst.afw.geom.SkyWcs
Wcs with a final shift and affine transform applied.
- outputWcs