23 __all__ = [
'WcsFactory']
30 """A factory for creating Wcs objects for the sky tiles. 34 pixelScale : `lsst.geom.Angle` 35 Desired scale, as sky/pixel. 37 FITS-standard 3-letter name of projection, e.g.: TAN (tangent), 38 STG (stereographic), MOL (Mollweide's), AIT (Hammer-Aitoff) 39 see Representations of celestial coordinates in FITS 40 (Calabretta and Greisen, 2002). 41 rotation : `lsst.geom.Angle` 42 Rotation relative to cardinal. 47 def __init__(self, pixelScale, projection, rotation=0*geom.radians, flipX=False):
48 if len(projection) != 3:
49 raise RuntimeError(
"projection=%r; must have length 3" % (projection,))
58 crPixPos : `lsst.geom.Point2D` 59 crPix for WCS, using the LSST standard. 60 crValCoord : `lsst.geom.SpherePoint` 65 results : `lsst.afw.geom.SkyWcs` 66 The new SkyWcs object. def makeWcs(self, crPixPos, crValCoord)
def __init__(self, pixelScale, projection, rotation=0 *geom.radians, flipX=False)
std::shared_ptr< SkyWcs > makeSkyWcs(TransformPoint2ToPoint2 const &pixelsToFieldAngle, lsst::geom::Angle const &orientation, bool flipX, lsst::geom::SpherePoint const &boresight, std::string const &projection="TAN")
Construct a FITS SkyWcs from camera geometry.
Eigen::Matrix2d makeCdMatrix(lsst::geom::Angle const &scale, lsst::geom::Angle const &orientation=0 *lsst::geom::degrees, bool flipX=false)
Make a WCS CD matrix.