|
lsst.meas.astrom gaea863341c+e53b91de25
|
Public Member Functions | |
| __init__ (self, inputSkyWcs) | |
| makeWcs (self, linearShift, affMatrix) | |
Public Attributes | |
| frameDict = inputSkyWcs.getFrameDict() | |
| frameIdxs | |
| frameMin = np.min(self.frameIdxs) | |
| frameMax = np.max(self.frameIdxs) | |
| int | mapFrom = self.frameMax - 2 |
| int | mapTo = self.frameMax - 1 |
| lastMapBeforeSky | |
| origin = inputSkyWcs.getSkyOrigin() | |
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.
Definition at line 209 of file fitAffineWcs.py.
| lsst.meas.astrom.fitAffineWcs.TransformedSkyWcsMaker.__init__ | ( | self, | |
| inputSkyWcs ) |
Definition at line 223 of file fitAffineWcs.py.
| lsst.meas.astrom.fitAffineWcs.TransformedSkyWcsMaker.makeWcs | ( | self, | |
| 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.
Returns
-------
outputWcs : `lsst.afw.geom.SkyWcs`
Wcs with a final shift and affine transform applied.
Definition at line 252 of file fitAffineWcs.py.
| lsst.meas.astrom.fitAffineWcs.TransformedSkyWcsMaker.frameDict = inputSkyWcs.getFrameDict() |
Definition at line 224 of file fitAffineWcs.py.
| lsst.meas.astrom.fitAffineWcs.TransformedSkyWcsMaker.frameIdxs |
Definition at line 232 of file fitAffineWcs.py.
| lsst.meas.astrom.fitAffineWcs.TransformedSkyWcsMaker.frameMax = np.max(self.frameIdxs) |
Definition at line 235 of file fitAffineWcs.py.
| lsst.meas.astrom.fitAffineWcs.TransformedSkyWcsMaker.frameMin = np.min(self.frameIdxs) |
Definition at line 234 of file fitAffineWcs.py.
| lsst.meas.astrom.fitAffineWcs.TransformedSkyWcsMaker.lastMapBeforeSky |
Definition at line 245 of file fitAffineWcs.py.
| lsst.meas.astrom.fitAffineWcs.TransformedSkyWcsMaker.mapFrom = self.frameMax - 2 |
Definition at line 239 of file fitAffineWcs.py.
| lsst.meas.astrom.fitAffineWcs.TransformedSkyWcsMaker.mapTo = self.frameMax - 1 |
Definition at line 242 of file fitAffineWcs.py.
| lsst.meas.astrom.fitAffineWcs.TransformedSkyWcsMaker.origin = inputSkyWcs.getSkyOrigin() |
Definition at line 250 of file fitAffineWcs.py.