23 __all__ = [
'WcsFactory']
29 """A factory for creating Wcs objects for the sky tiles. 33 pixelScale : `lsst.geom.Angle` 34 Desired scale, as sky/pixel. 36 FITS-standard 3-letter name of projection, e.g.: TAN (tangent), 37 STG (stereographic), MOL (Mollweide's), AIT (Hammer-Aitoff) 38 see Representations of celestial coordinates in FITS 39 (Calabretta and Greisen, 2002). 40 rotation : `lsst.geom.Angle` 41 Rotation relative to cardinal. 46 def __init__(self, pixelScale, projection, rotation=0*afwGeom.radians, flipX=False):
47 if len(projection) != 3:
48 raise RuntimeError(
"projection=%r; must have length 3" % (projection,))
50 self.
_cdMatrix = afwGeom.makeCdMatrix(scale=pixelScale, orientation=rotation, flipX=flipX)
57 crPixPos : `lsst.geom.Point2D` 58 crPix for WCS, using the LSST standard. 59 crValCoord : `lsst.geom.SpherePoint` 64 results : `lsst.afw.geom.SkyWcs` 65 The new SkyWcs object. 67 return afwGeom.makeSkyWcs(crpix=crPixPos, crval=crValCoord,
def makeWcs(self, crPixPos, crValCoord)
def __init__(self, pixelScale, projection, rotation=0 *afwGeom.radians, flipX=False)