lsst.meas.base gdd9490a0bf+839504dd15
Loading...
Searching...
No Matches
lsst.meas.base.plugins.EvaluateLocalPhotoCalibPlugin Class Reference
Inheritance diagram for lsst.meas.base.plugins.EvaluateLocalPhotoCalibPlugin:
lsst.meas.base.wrappers.GenericPlugin lsst.meas.base.pluginsBase.BasePlugin

Public Member Functions

 getExecutionOrder (cls)
 
 __init__ (self, config, name, schema, metadata)
 
 measure (self, measRecord, exposure, center)
 

Public Attributes

 photoKey
 
 photoErrKey
 
 name
 

Static Public Attributes

 ConfigClass = EvaluateLocalPhotoCalibPluginConfig
 

Protected Attributes

 _failKey
 

Detailed Description

Evaluate the local value of the Photometric Calibration in the exposure.

The aim is to store the local calib value within the catalog for later
use in the Science Data Model functors.

Definition at line 424 of file plugins.py.

Constructor & Destructor Documentation

◆ __init__()

lsst.meas.base.plugins.EvaluateLocalPhotoCalibPlugin.__init__ ( self,
config,
name,
schema,
metadata )

Reimplemented from lsst.meas.base.wrappers.GenericPlugin.

Definition at line 436 of file plugins.py.

Member Function Documentation

◆ getExecutionOrder()

lsst.meas.base.plugins.EvaluateLocalPhotoCalibPlugin.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 433 of file plugins.py.

◆ measure()

lsst.meas.base.plugins.EvaluateLocalPhotoCalibPlugin.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 449 of file plugins.py.

Member Data Documentation

◆ _failKey

lsst.meas.base.plugins.EvaluateLocalPhotoCalibPlugin._failKey
protected

Definition at line 459 of file plugins.py.

◆ ConfigClass

lsst.meas.base.plugins.EvaluateLocalPhotoCalibPlugin.ConfigClass = EvaluateLocalPhotoCalibPluginConfig
static

Definition at line 430 of file plugins.py.

◆ name

lsst.meas.base.plugins.EvaluateLocalPhotoCalibPlugin.name

Definition at line 454 of file plugins.py.

◆ photoErrKey

lsst.meas.base.plugins.EvaluateLocalPhotoCalibPlugin.photoErrKey
Initial value:
= schema.addField(
"%sErr" % name,
type="D",
doc="Error on the local approximation of the PhotoCalib "
"calibration factor at the location of the src.")

Definition at line 443 of file plugins.py.

◆ photoKey

lsst.meas.base.plugins.EvaluateLocalPhotoCalibPlugin.photoKey
Initial value:
= schema.addField(
name,
type="D",
doc="Local approximation of the PhotoCalib calibration factor at "
"the location of the src.")

Definition at line 438 of file plugins.py.


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