lsst.meas.base
16.0-12-g5ad1ebf+9
|
Public Member Functions | |
def | getExecutionOrder (cls) |
def | __init__ (self, config, name, schema, metadata) |
def | measure (self, measRecord, exposure) |
def | fail (self, measRecord, error=None) |
def | measureN (self, measCat, exposure) |
Measure the properties of a group of blended sources on a single image (single-epoch image or coadd). More... | |
def | getLogName (self) |
Static Public Member Functions | |
def | getTransformClass () |
Public Attributes | |
keyX | |
keyY | |
flag | |
config | |
name | |
logName | |
Static Public Attributes | |
ConfigClass = SingleFramePeakCentroidConfig | |
registry = PluginRegistry(SingleFramePluginConfig) | |
float | CENTROID_ORDER = 0.0 |
float | SHAPE_ORDER = 1.0 |
float | FLUX_ORDER = 2.0 |
float | APCORR_ORDER = 3.0 |
float | DEFAULT_CATALOGCALCULATION = 4.0 |
A centroid algorithm that simply uses the first (i.e. highest) Peak in the Source's Footprint as the centroid. This is of course a relatively poor measure of the true centroid of the object; this algorithm is provided mostly for testing and debugging.
Definition at line 320 of file plugins.py.
def lsst.meas.base.plugins.SingleFramePeakCentroidPlugin.__init__ | ( | self, | |
config, | |||
name, | |||
schema, | |||
metadata | |||
) |
Definition at line 333 of file plugins.py.
def lsst.meas.base.plugins.SingleFramePeakCentroidPlugin.fail | ( | self, | |
measRecord, | |||
error = None |
|||
) |
Definition at line 344 of file plugins.py.
def lsst.meas.base.plugins.SingleFramePeakCentroidPlugin.getExecutionOrder | ( | cls | ) |
Definition at line 330 of file plugins.py.
|
inherited |
Definition at line 90 of file pluginsBase.py.
|
static |
Definition at line 348 of file plugins.py.
def lsst.meas.base.plugins.SingleFramePeakCentroidPlugin.measure | ( | self, | |
measRecord, | |||
exposure | |||
) |
Definition at line 339 of file plugins.py.
|
inherited |
Measure the properties of a group of blended sources on a single image (single-epoch image or coadd).
[in,out] | measCat | lsst.afw.table.SourceCatalog to be filled with outputs, and from which previously-measured quantities can be retrieved, containing only the sources that should be measured together in this call. |
[in] | exposure | lsst.afw.image.ExposureF, containing the pixel data to be measured and the associated Psf, Wcs, etc. Sources not in the blended hierarchy to be measured will have been replaced with noise using deblender outputs. |
Derived classes that do not implement measureN() should just inherit this disabled version. Derived classes that do implement measureN() should additionally add a bool doMeasureN config field to their config class to signal that measureN-mode is available.
|
staticinherited |
Definition at line 51 of file pluginsBase.py.
|
staticinherited |
Definition at line 48 of file pluginsBase.py.
|
inherited |
Definition at line 86 of file pluginsBase.py.
|
static |
Definition at line 327 of file plugins.py.
|
staticinherited |
Definition at line 52 of file pluginsBase.py.
lsst.meas.base.plugins.SingleFramePeakCentroidPlugin.flag |
Definition at line 337 of file plugins.py.
|
staticinherited |
Definition at line 50 of file pluginsBase.py.
lsst.meas.base.plugins.SingleFramePeakCentroidPlugin.keyX |
Definition at line 335 of file plugins.py.
lsst.meas.base.plugins.SingleFramePeakCentroidPlugin.keyY |
Definition at line 336 of file plugins.py.
|
inherited |
Definition at line 88 of file pluginsBase.py.
|
inherited |
Definition at line 87 of file pluginsBase.py.
|
staticinherited |
|
staticinherited |
Definition at line 49 of file pluginsBase.py.