lsst.meas.base
14.0-23-g2010ef9
|
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 321 of file plugins.py.
def lsst.meas.base.plugins.SingleFramePeakCentroidPlugin.__init__ | ( | self, | |
config, | |||
name, | |||
schema, | |||
metadata | |||
) |
Definition at line 334 of file plugins.py.
def lsst.meas.base.plugins.SingleFramePeakCentroidPlugin.fail | ( | self, | |
measRecord, | |||
error = None |
|||
) |
Definition at line 345 of file plugins.py.
def lsst.meas.base.plugins.SingleFramePeakCentroidPlugin.getExecutionOrder | ( | cls | ) |
Definition at line 331 of file plugins.py.
|
inherited |
Definition at line 92 of file pluginsBase.py.
|
static |
Definition at line 349 of file plugins.py.
def lsst.meas.base.plugins.SingleFramePeakCentroidPlugin.measure | ( | self, | |
measRecord, | |||
exposure | |||
) |
Definition at line 340 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 53 of file pluginsBase.py.
|
staticinherited |
Definition at line 50 of file pluginsBase.py.
|
inherited |
Definition at line 88 of file pluginsBase.py.
|
static |
Definition at line 328 of file plugins.py.
|
staticinherited |
Definition at line 54 of file pluginsBase.py.
lsst.meas.base.plugins.SingleFramePeakCentroidPlugin.flag |
Definition at line 338 of file plugins.py.
|
staticinherited |
Definition at line 52 of file pluginsBase.py.
lsst.meas.base.plugins.SingleFramePeakCentroidPlugin.keyX |
Definition at line 336 of file plugins.py.
lsst.meas.base.plugins.SingleFramePeakCentroidPlugin.keyY |
Definition at line 337 of file plugins.py.
|
inherited |
Definition at line 90 of file pluginsBase.py.
|
inherited |
Definition at line 89 of file pluginsBase.py.
|
staticinherited |
|
staticinherited |
Definition at line 51 of file pluginsBase.py.