lsst.meas.extensions.piff g2aea266057+09802d05a6
Loading...
Searching...
No Matches
Public Member Functions | List of all members
lsst.meas.extensions.piff.wcs_wrapper.UVWcsWrapper Class Reference
Inheritance diagram for lsst.meas.extensions.piff.wcs_wrapper.UVWcsWrapper:

Public Member Functions

def __init__ (self, pix_to_field, origin=None, world_origin=None)
 
def origin (self)
 
def world_origin (self)
 

Detailed Description

Wrap a `lsst.afw.geom.TransformPoint2ToPoint2[2->2]` in a GalSim WCS.

Parameters
----------
pix_to_field : `lsst.afw.geom.TransformPoint2ToPoint2[2->2]`
    Transform to wrap.  Most likely PIXELS -> FIELD_ANGLE, but other 2D ->
    2D transforms should be possible.
origin : `galsim.PositionD`, optional
    Origin in image coordinates.
world_origin : `galsim.PositionD`, optional
    Origin in world coordinates.

Notes
-----

GalSim EuclideanWCS assumes
    u = ufunc(x-x0, y-y0) + u0
    v = vfunc(x-x0, y-y0) + v0
where u,v are world (likely field angles), and (x, y) are pixels.
GalSim also assumes that origin = x0, y0 and world_origin = u0, v0.
I might have naively thought that uv(origin) == world_origin, but
that appears to not be required. So we're just going to leave both
free.

Member Function Documentation

◆ origin()

def lsst.meas.extensions.piff.wcs_wrapper.UVWcsWrapper.origin (   self)
The image coordinate position to use as the origin.

◆ world_origin()

def lsst.meas.extensions.piff.wcs_wrapper.UVWcsWrapper.world_origin (   self)
The world coordinate position to use as the origin.

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