lsst.skymap gc3e9b769f7+b0068a2d9f
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
lsst.skymap.detail.wcsFactory.WcsFactory Class Reference

Public Member Functions

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

Protected Attributes

 _projection
 
 _cdMatrix
 

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__()

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

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.

Member Data Documentation

◆ _cdMatrix

lsst.skymap.detail.wcsFactory.WcsFactory._cdMatrix
protected

Definition at line 51 of file wcsFactory.py.

◆ _projection

lsst.skymap.detail.wcsFactory.WcsFactory._projection
protected

Definition at line 50 of file wcsFactory.py.


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