lsst.meas.astrom gaea863341c+16c1f7f380
Loading...
Searching...
No Matches
lsst.meas.astrom.fit_sip_approximation.FitSipApproximationTask Class Reference
Inheritance diagram for lsst.meas.astrom.fit_sip_approximation.FitSipApproximationTask:

Public Member Functions

 run (self, *, wcs, bbox)
 

Static Public Attributes

 ConfigClass = FitSipApproximationConfig
 

Static Protected Attributes

str _DefaultName = "fitSipApproximation"
 

Detailed Description

A simple convenience wrapper for `lsst.afw.geom.SipApproximation`.

Definition at line 52 of file fit_sip_approximation.py.

Member Function Documentation

◆ run()

lsst.meas.astrom.fit_sip_approximation.FitSipApproximationTask.run ( self,
* ,
wcs,
bbox )
Re-fit the pointing from the WCSs in a visit.

Parameters
----------
wcs : `lsst.afw.geom.SkyWcs`
    Target WCS to approximate.
bbox : `lsst.geom.Box2I`
    The region where the WCS and its approximation are expected to be
    valid.

Returns
-------
results : `lsst.pipe.base.Struct`
    A struct with the following attributes:

    - ``wcs`` (`lsst.afw.geom.SkyWcs`): a copy of the input ``wcs``
      with a SIP approximation attached.
    - ``delta_sky`` (`lsst.geom.Angle`): maximum separation in
      ``pixelToSky`` values on a grid offset from the one used for the
      fit.
    - ``delta_pixel`` (`float`): maximum separation in ``skyToPixel``
      values on a grid offset from the one used for the fit.

Definition at line 59 of file fit_sip_approximation.py.

Member Data Documentation

◆ _DefaultName

str lsst.meas.astrom.fit_sip_approximation.FitSipApproximationTask._DefaultName = "fitSipApproximation"
staticprotected

Definition at line 56 of file fit_sip_approximation.py.

◆ ConfigClass

lsst.meas.astrom.fit_sip_approximation.FitSipApproximationTask.ConfigClass = FitSipApproximationConfig
static

Definition at line 57 of file fit_sip_approximation.py.


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