lsst.meas.astrom gcf9c84bd28+6c2bae5111
Loading...
Searching...
No Matches
Classes | Functions
lsst.meas.astrom.fitAffineWcs Namespace Reference

Classes

class  FitAffineWcsConfig
 
class  FitAffineWcsTask
 
class  TransformedSkyWcsMaker
 

Functions

def _chiFunc (x, refPoints, srcPixels, wcsMaker)
 

Function Documentation

◆ _chiFunc()

def lsst.meas.astrom.fitAffineWcs._chiFunc (   x,
  refPoints,
  srcPixels,
  wcsMaker 
)
protected
Function to minimize to fit the shift and rotation in the WCS.

Parameters
----------
x : `numpy.ndarray`
    Current fit values to test. Float values in array are:

    - ``bearingTo``: Direction to move the wcs coord in.
    - ``separation``: Distance along sphere to move wcs coord in.
    - ``affine0,0``: [0, 0] value of the 2x2 affine transform matrix.
    - ``affine0,1``: [0, 1] value of the 2x2 affine transform matrix.
    - ``affine1,0``: [1, 0] value of the 2x2 affine transform matrix.
    - ``affine1,1``: [1, 1] value of the 2x2 affine transform matrix.
refPoints : `list` of `lsst.afw.geom.SpherePoint`
    Reference object on Sky locations.
srcPixels : `list` of `lsst.geom.Point2D`
    Source object positions on the pixels.
wcsMaker : `TransformedSkyWcsMaker`
    Container class for producing the updated Wcs.

Returns
-------
outputSeparations : `list` of `float`
    Separation between predicted source location and reference location in
    radians.

Definition at line 40 of file fitAffineWcs.py.