lsst.meas.base gb94f486bb8+a7fba7db26
|
Public Member Functions | |
def | getExecutionOrder (cls) |
def | __init__ (self, SingleFrameCompensatedGaussianFluxConfig config, str name, schema, metadata, logName=None, **kwds) |
def | fail (self, measRecord, error=None) |
def | measure (self, measRecord, exposure) |
Public Attributes | |
fatalFailKey | |
ooBoundsKey | |
width_keys | |
Static Public Attributes | |
ConfigClass = SingleFrameCompensatedGaussianFluxConfig | |
Definition at line 62 of file _compensatedGaussian.py.
def lsst.meas.base.compensatedGaussian._compensatedGaussian.SingleFrameCompensatedGaussianFluxPlugin.__init__ | ( | self, | |
SingleFrameCompensatedGaussianFluxConfig | config, | ||
str | name, | ||
schema, | |||
metadata, | |||
logName = None , |
|||
** | kwds | ||
) |
Reimplemented from lsst.meas.base.sfm.SingleFramePlugin.
Definition at line 69 of file _compensatedGaussian.py.
def lsst.meas.base.compensatedGaussian._compensatedGaussian.SingleFrameCompensatedGaussianFluxPlugin.fail | ( | self, | |
measRecord, | |||
error = None |
|||
) |
Record a failure of the `measure` or `measureN` method. Parameters ---------- measRecord : `lsst.afw.table.SourceRecord` Table record describing the source being measured. error : `MeasurementError`, optional Only provided if the measurement failed due to a `MeasurementError` being raised; otherwise, will be `None`. Notes ----- When the plugin raises an exception, framework will call `BasePlugin.fail` to allow the plugin to set its failure flag field(s). When `BasePlugin.measureN` raises an exception, `BasePlugin.fail` will be called repeatedly with all the records that were being measured. If the exception is an `MeasurementError`, it will be passed as the error argument; in all other cases the error argument will be `None`, and the failure will be logged by the measurement framework as a warning.
Reimplemented from lsst.meas.base.pluginsBase.BasePlugin.
Definition at line 117 of file _compensatedGaussian.py.
def lsst.meas.base.compensatedGaussian._compensatedGaussian.SingleFrameCompensatedGaussianFluxPlugin.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.pluginsBase.BasePlugin.
Definition at line 66 of file _compensatedGaussian.py.
def lsst.meas.base.compensatedGaussian._compensatedGaussian.SingleFrameCompensatedGaussianFluxPlugin.measure | ( | self, | |
measRecord, | |||
exposure | |||
) |
Measure the properties of a source on a single image. The image may be from a single epoch, or it may be a coadd. Parameters ---------- measRecord : `lsst.afw.table.SourceRecord` Record describing the object being measured. Previously-measured quantities may be retrieved from here, and it will be updated in-place tih the outputs of this plugin. exposure : `lsst.afw.image.ExposureF` The pixel data to be measured, together with the associated PSF, WCS, etc. All other sources in the image should have been replaced by noise according to deblender outputs.
Reimplemented from lsst.meas.base.sfm.SingleFramePlugin.
Definition at line 122 of file _compensatedGaussian.py.
|
static |
Definition at line 63 of file _compensatedGaussian.py.
lsst.meas.base.compensatedGaussian._compensatedGaussian.SingleFrameCompensatedGaussianFluxPlugin.fatalFailKey |
Definition at line 81 of file _compensatedGaussian.py.
lsst.meas.base.compensatedGaussian._compensatedGaussian.SingleFrameCompensatedGaussianFluxPlugin.ooBoundsKey |
Definition at line 86 of file _compensatedGaussian.py.
lsst.meas.base.compensatedGaussian._compensatedGaussian.SingleFrameCompensatedGaussianFluxPlugin.width_keys |
Definition at line 92 of file _compensatedGaussian.py.