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:
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?

Methods Summary

makeWcs(crPixPos, crValCoord) Make a Wcs.

Methods Documentation

makeWcs(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.