|
lsst.skymap gb9c20d2722+4386e1d82d
|
Public Member Functions | |
| __init__ (self, pixelScale, projection, rotation=0 *geom.radians, flipX=False) | |
| makeWcs (self, crPixPos, crValCoord) | |
Protected Attributes | |
| _projection = projection | |
| _cdMatrix = afwGeom.makeCdMatrix(scale=pixelScale, orientation=rotation, flipX=flipX) | |
A factory for creating Wcs objects for the sky tiles.
Parameters
----------
pixelScale : `lsst.geom.Angle`
Desired scale, as sky/pixel.
projection : `str`
FITS-standard 3-letter name of projection, e.g.: TAN (tangent),
STG (stereographic), MOL (Mollweide's), AIT (Hammer-Aitoff)
see Representations of celestial coordinates in FITS
(Calabretta and Greisen, 2002).
rotation : `lsst.geom.Angle`
Rotation relative to cardinal.
flipX : `bool`
Flip the X axis?
| lsst.skymap.detail.wcsFactory.WcsFactory.makeWcs | ( | self, | |
| crPixPos, | |||
| crValCoord ) |
Make a Wcs.
Parameters
----------
crPixPos : `lsst.geom.Point2D`
crPix for WCS, using the LSST standard.
crValCoord : `lsst.geom.SpherePoint`
ICRS crVal for WCS.
Returns
-------
results : `lsst.afw.geom.SkyWcs`
The new SkyWcs object.