lsst.meas.base ge3b0dce83b+13f9ab5c3f
|
Public Member Functions | |
def | getExecutionOrder (cls) |
def | __init__ (self, config, name, schema, metadata) |
def | measure (self, measRecord, exposure, center) |
def | makeLocalTransformMatrix (self, wcs, center) |
Public Attributes | |
cdMatrix11Key | |
cdMatrix12Key | |
cdMatrix21Key | |
cdMatrix22Key | |
Static Public Attributes | |
ConfigClass = EvaluateLocalWcsPluginConfig | |
Evaluate the local, linear approximation of the Wcs. The aim is to store the local calib value within the catalog for later use in the Science Data Model functors.
Definition at line 466 of file plugins.py.
def lsst.meas.base.plugins.EvaluateLocalWcsPlugin.__init__ | ( | self, | |
config, | |||
name, | |||
schema, | |||
metadata | |||
) |
Reimplemented from lsst.meas.base.wrappers.GenericPlugin.
Definition at line 479 of file plugins.py.
def lsst.meas.base.plugins.EvaluateLocalWcsPlugin.getExecutionOrder | ( | cls | ) |
Get the relative execution order of this plugin. Must be reimplemented as a class method by concrete derived classes.
Reimplemented from lsst.meas.base.wrappers.GenericPlugin.
Definition at line 476 of file plugins.py.
def lsst.meas.base.plugins.EvaluateLocalWcsPlugin.makeLocalTransformMatrix | ( | self, | |
wcs, | |||
center | |||
) |
Create a local, linear approximation of the wcs transformation matrix. The approximation is created as if the center is at RA=0, DEC=0. All comparing x,y coordinate are relative to the position of center. Matrix is initially calculated with units arcseconds and then converted to radians. This yields higher precision results due to quirks in AST. Parameters ---------- wcs : `lsst.afw.geom.SkyWcs` Wcs to approximate center : `lsst.geom.Point2D` Point at which to evaluate the LocalWcs. Returns ------- localMatrix : `numpy.ndarray` Matrix representation the local wcs approximation with units radians.
Definition at line 510 of file plugins.py.
def lsst.meas.base.plugins.EvaluateLocalWcsPlugin.measure | ( | self, | |
measRecord, | |||
exposure, | |||
center | |||
) |
Measure a single source. It is the responsibility of this method to perform the desired measurement and record the result in the `measRecord`. Parameters ---------- measRecord : `lsst.afw.table.SourceRecord` Catalog record for the source being measured. exposure : `lsst.afw.image.Exposure` Exposure on which the source is being measured. center : `lsst.geom.Point2D` Pixel coordinates of the object. Raises ------ MeasurementError Raised if the measurement fails for a known/justifiable reason.
Reimplemented from lsst.meas.base.wrappers.GenericPlugin.
Definition at line 502 of file plugins.py.
lsst.meas.base.plugins.EvaluateLocalWcsPlugin.cdMatrix11Key |
Definition at line 481 of file plugins.py.
lsst.meas.base.plugins.EvaluateLocalWcsPlugin.cdMatrix12Key |
Definition at line 486 of file plugins.py.
lsst.meas.base.plugins.EvaluateLocalWcsPlugin.cdMatrix21Key |
Definition at line 491 of file plugins.py.
lsst.meas.base.plugins.EvaluateLocalWcsPlugin.cdMatrix22Key |
Definition at line 496 of file plugins.py.
|
static |
Definition at line 472 of file plugins.py.