WcsFactory

class lsst.skymap.detail.WcsFactory(pixelScale, projection, rotation=Angle(0, degrees), flipX=False)

Bases: object

A factory for creating Wcs objects for the sky tiles.

Parameters:
pixelScalelsst.geom.Angle

Desired scale, as sky/pixel.

projectionstr

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).

rotationlsst.geom.Angle

Rotation relative to cardinal.

flipXbool

Flip the X axis?

Methods Summary

makeWcs(crPixPos, crValCoord)

Make a Wcs.

Methods Documentation

makeWcs(crPixPos, crValCoord)

Make a Wcs.

Parameters:
crPixPoslsst.geom.Point2D

crPix for WCS, using the LSST standard.

crValCoordlsst.geom.SpherePoint

ICRS crVal for WCS.

Returns:
resultslsst.afw.geom.SkyWcs

The new SkyWcs object.