EvaluateLocalPhotoCalibPlugin#

class lsst.meas.base.EvaluateLocalPhotoCalibPlugin(config, name, schema, metadata)#

Bases: GenericPlugin

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.

Methods Summary

getExecutionOrder()

Get the relative execution order of this plugin.

measure(measRecord, exposure, center)

Measure a single source.

Methods Documentation

classmethod getExecutionOrder()#

Get the relative execution order of this plugin.

Must be reimplemented as a class method by concrete derived classes.

measure(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#

measRecordlsst.afw.table.SourceRecord

Catalog record for the source being measured.

exposurelsst.afw.image.Exposure

Exposure on which the source is being measured.

centerlsst.geom.Point2D

Pixel coordinates of the object.

Raises#

MeasurementError

Raised if the measurement fails for a known/justifiable reason.