lsst.skymap  14.0-4-g3609236+5
Public Member Functions | List of all members
lsst.skymap.detail.wcsFactory.WcsFactory Class Reference
Inheritance diagram for lsst.skymap.detail.wcsFactory.WcsFactory:

Public Member Functions

def __init__ (self, pixelScale, projection, rotation=0 *afwGeom.radians, flipX=False)
 
def makeWcs (self, crPixPos, crValCoord)
 

Detailed Description

A factory for creating Wcs objects for the sky tiles.

Definition at line 26 of file wcsFactory.py.

Constructor & Destructor Documentation

◆ __init__()

def lsst.skymap.detail.wcsFactory.WcsFactory.__init__ (   self,
  pixelScale,
  projection,
  rotation = 0*afwGeom.radians,
  flipX = False 
)
Make a WcsFactory

@param[in] pixelScale: desired scale, as sky/pixel, an afwGeom.Angle
@param[in] projection: 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)
@param[in] rotation:   Rotation relative to cardinal, as an lsst.afw.geom.Angle
@param[in] flipX: Flip the X axis?

Definition at line 30 of file wcsFactory.py.

Member Function Documentation

◆ makeWcs()

def lsst.skymap.detail.wcsFactory.WcsFactory.makeWcs (   self,
  crPixPos,
  crValCoord 
)
Make a Wcs

@param[in] crPixPos: crPix for WCS, using the LSST standard; an afwGeom.Point2D or pair of floats
@param[in] crValCoord: crVal for WCS (afwCoord.Coord)

Definition at line 45 of file wcsFactory.py.


The documentation for this class was generated from the following file: