lsst.meas.extensions.trailedSources
master-gcc5351303a+555561a960
|
Public Member Functions | |
def | getExecutionOrder (cls) |
def | __init__ (self, config, name, schema, metadata) |
def | measure (self, measRecord, exposure) |
def | fail (self, measRecord, error=None) |
Public Attributes | |
keyX0 | |
keyY0 | |
keyX1 | |
keyY1 | |
keyFlux | |
keyL | |
keyAngle | |
keyX0Err | |
keyY0Err | |
keyX1Err | |
keyY1Err | |
NO_FLUX | |
flagHandler | |
centriodExtractor | |
Static Public Attributes | |
ConfigClass = SingleFrameNaiveTrailConfig | |
Naive trailed source measurement plugin Measures the length, angle from +x-axis, and end points of an extended source using the second moments. Parameters ---------- config: `SingleFrameNaiveTrailConfig` Plugin configuration. name: `str` Plugin name. schema: `lsst.afw.table.Schema` Schema for the output catalog. metadata: `lsst.daf.base.PropertySet` Metadata to be attached to output catalog. Notes ----- This measurement plugin aims to utilize the already measured shape second moments to naively estimate the length and angle, and thus end-points, of a fast-moving, trailed source. The estimate for the trail length is obtained by doubling the semi-major axis, a, of the ellipse defined by the second moments. The angle, theta, from the x-axis is computed similarly (via second moments). The end points of the trail are then given by (xc +/- a*cos(theta), yc +/- a*sin(theta)), with xc and yc being the centroid coordinates. See also -------- lsst.meas.base.SingleFramePlugin
Definition at line 41 of file NaivePlugin.py.
def lsst.meas.extensions.trailedSources.NaivePlugin.SingleFrameNaiveTrailPlugin.__init__ | ( | self, | |
config, | |||
name, | |||
schema, | |||
metadata | |||
) |
Definition at line 82 of file NaivePlugin.py.
def lsst.meas.extensions.trailedSources.NaivePlugin.SingleFrameNaiveTrailPlugin.fail | ( | self, | |
measRecord, | |||
error = None |
|||
) |
Record failure See also -------- lsst.meas.base.SingleFramePlugin.fail
Definition at line 183 of file NaivePlugin.py.
def lsst.meas.extensions.trailedSources.NaivePlugin.SingleFrameNaiveTrailPlugin.getExecutionOrder | ( | cls | ) |
Definition at line 77 of file NaivePlugin.py.
def lsst.meas.extensions.trailedSources.NaivePlugin.SingleFrameNaiveTrailPlugin.measure | ( | self, | |
measRecord, | |||
exposure | |||
) |
Run the Naive trailed source measurement algorithm. Parameters ---------- measRecord : `lsst.afw.table.SourceRecord` Record describing the object being measured. exposure : `lsst.afw.image.Exposure` Pixel data to be measured. See also -------- lsst.meas.base.SingleFramePlugin.measure
Definition at line 111 of file NaivePlugin.py.
lsst.meas.extensions.trailedSources.NaivePlugin.SingleFrameNaiveTrailPlugin.centriodExtractor |
Definition at line 109 of file NaivePlugin.py.
|
static |
Definition at line 74 of file NaivePlugin.py.
lsst.meas.extensions.trailedSources.NaivePlugin.SingleFrameNaiveTrailPlugin.flagHandler |
Definition at line 107 of file NaivePlugin.py.
lsst.meas.extensions.trailedSources.NaivePlugin.SingleFrameNaiveTrailPlugin.keyAngle |
Definition at line 92 of file NaivePlugin.py.
lsst.meas.extensions.trailedSources.NaivePlugin.SingleFrameNaiveTrailPlugin.keyFlux |
Definition at line 90 of file NaivePlugin.py.
lsst.meas.extensions.trailedSources.NaivePlugin.SingleFrameNaiveTrailPlugin.keyL |
Definition at line 91 of file NaivePlugin.py.
lsst.meas.extensions.trailedSources.NaivePlugin.SingleFrameNaiveTrailPlugin.keyX0 |
Definition at line 86 of file NaivePlugin.py.
lsst.meas.extensions.trailedSources.NaivePlugin.SingleFrameNaiveTrailPlugin.keyX0Err |
Definition at line 95 of file NaivePlugin.py.
lsst.meas.extensions.trailedSources.NaivePlugin.SingleFrameNaiveTrailPlugin.keyX1 |
Definition at line 88 of file NaivePlugin.py.
lsst.meas.extensions.trailedSources.NaivePlugin.SingleFrameNaiveTrailPlugin.keyX1Err |
Definition at line 99 of file NaivePlugin.py.
lsst.meas.extensions.trailedSources.NaivePlugin.SingleFrameNaiveTrailPlugin.keyY0 |
Definition at line 87 of file NaivePlugin.py.
lsst.meas.extensions.trailedSources.NaivePlugin.SingleFrameNaiveTrailPlugin.keyY0Err |
Definition at line 97 of file NaivePlugin.py.
lsst.meas.extensions.trailedSources.NaivePlugin.SingleFrameNaiveTrailPlugin.keyY1 |
Definition at line 89 of file NaivePlugin.py.
lsst.meas.extensions.trailedSources.NaivePlugin.SingleFrameNaiveTrailPlugin.keyY1Err |
Definition at line 101 of file NaivePlugin.py.
lsst.meas.extensions.trailedSources.NaivePlugin.SingleFrameNaiveTrailPlugin.NO_FLUX |
Definition at line 106 of file NaivePlugin.py.