|
def | __init__ (self, config, name, schema, metadata, logName=None) |
|
def | measure (self, measRecord, exposure) |
|
def | measureN (self, measCat, exposure) |
|
def | fail (self, measRecord, error=None) |
|
def | getExecutionOrder (cls) |
|
def | getLogName (self) |
|
Definition at line 14 of file wrappers.py.
◆ __init__()
def lsst.meas.base.wrappers.WrappedSingleFramePlugin.__init__ |
( |
|
self, |
|
|
|
config, |
|
|
|
name, |
|
|
|
schema, |
|
|
|
metadata, |
|
|
|
logName = None |
|
) |
| |
◆ fail()
def lsst.meas.base.wrappers.WrappedSingleFramePlugin.fail |
( |
|
self, |
|
|
|
measRecord, |
|
|
|
error = None |
|
) |
| |
◆ getExecutionOrder()
def lsst.meas.base.pluginsBase.BasePlugin.getExecutionOrder |
( |
|
cls | ) |
|
|
inherited |
Sets the relative order of plugins (smaller numbers run first).
In general, the following class constants should be used (other values
are also allowed, but should be avoided unless they are needed):
CENTROID_ORDER centroids and other algorithms that require only a Footprint
and its Peaks as input
SHAPE_ORDER shape measurements and other algorithms that require getCentroid() to return
a good centroid (in addition to a Footprint and its Peaks).
FLUX_ORDER flux algorithms that require both getShape() and getCentroid(),
in addition to a Footprint and its Peaks
DEFAULT_CATALOGCALCULATION plugins that only operate on the catalog
Must be reimplemented as a class method by concrete derived classes.
This approach was chosen instead of a full graph-based analysis of dependencies
because algorithm dependencies are usually both quite simple and entirely substitutable:
an algorithm that requires a centroid can typically make use of any centroid algorithms
outputs. That makes it relatively easy to figure out the correct value to use for any
particular algorithm.
Definition at line 57 of file pluginsBase.py.
◆ getLogName()
def lsst.meas.base.pluginsBase.BasePlugin.getLogName |
( |
|
self | ) |
|
|
inherited |
◆ getTransformClass()
def lsst.meas.base.pluginsBase.BasePlugin.getTransformClass |
( |
| ) |
|
|
staticinherited |
Get the measurement transformation appropriate to this plugin.
This returns a subclass of MeasurementTransform, which may be instantiated with details of the algorithm configuration and then called with information about calibration and WCS to convert from raw measurement quantities to calibrated units. Calibrated data is then provided in a separate output table.
By default, we copy everything from the input to the output without transformation.
Definition at line 117 of file pluginsBase.py.
◆ measure()
def lsst.meas.base.wrappers.WrappedSingleFramePlugin.measure |
( |
|
self, |
|
|
|
measRecord, |
|
|
|
exposure |
|
) |
| |
◆ measureN()
def lsst.meas.base.wrappers.WrappedSingleFramePlugin.measureN |
( |
|
self, |
|
|
|
measCat, |
|
|
|
exposure |
|
) |
| |
◆ APCORR_ORDER
float lsst.meas.base.pluginsBase.BasePlugin.APCORR_ORDER = 3.0 |
|
staticinherited |
◆ CENTROID_ORDER
float lsst.meas.base.pluginsBase.BasePlugin.CENTROID_ORDER = 0.0 |
|
staticinherited |
◆ config
lsst.meas.base.pluginsBase.BasePlugin.config |
|
inherited |
◆ ConfigClass
◆ cpp
lsst.meas.base.wrappers.WrappedSingleFramePlugin.cpp |
◆ DEFAULT_CATALOGCALCULATION
float lsst.meas.base.pluginsBase.BasePlugin.DEFAULT_CATALOGCALCULATION = 4.0 |
|
staticinherited |
◆ FLUX_ORDER
float lsst.meas.base.pluginsBase.BasePlugin.FLUX_ORDER = 2.0 |
|
staticinherited |
◆ logName
lsst.meas.base.pluginsBase.BasePlugin.logName |
|
inherited |
◆ name
lsst.meas.base.pluginsBase.BasePlugin.name |
|
inherited |
◆ registry
◆ SHAPE_ORDER
float lsst.meas.base.pluginsBase.BasePlugin.SHAPE_ORDER = 1.0 |
|
staticinherited |
The documentation for this class was generated from the following file: