lsst.skymap g6075d09f38+278cc78454
Loading...
Searching...
No Matches
Public Member Functions | List of all members
lsst.skymap.detail.wcsFactory.WcsFactory Class Reference

Public Member Functions

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

Detailed Description

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?

Definition at line 29 of file wcsFactory.py.

Constructor & Destructor Documentation

◆ __init__()

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

Definition at line 47 of file wcsFactory.py.

Member Function Documentation

◆ makeWcs()

def lsst.skymap.detail.wcsFactory.WcsFactory.makeWcs (   self,
  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.

Definition at line 53 of file wcsFactory.py.


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