LSST Applications
21.0.0-172-gfb10e10a+18fedfabac,22.0.0+297cba6710,22.0.0+80564b0ff1,22.0.0+8d77f4f51a,22.0.0+a28f4c53b1,22.0.0+dcf3732eb2,22.0.1-1-g7d6de66+2a20fdde0d,22.0.1-1-g8e32f31+297cba6710,22.0.1-1-geca5380+7fa3b7d9b6,22.0.1-12-g44dc1dc+2a20fdde0d,22.0.1-15-g6a90155+515f58c32b,22.0.1-16-g9282f48+790f5f2caa,22.0.1-2-g92698f7+dcf3732eb2,22.0.1-2-ga9b0f51+7fa3b7d9b6,22.0.1-2-gd1925c9+bf4f0e694f,22.0.1-24-g1ad7a390+a9625a72a8,22.0.1-25-g5bf6245+3ad8ecd50b,22.0.1-25-gb120d7b+8b5510f75f,22.0.1-27-g97737f7+2a20fdde0d,22.0.1-32-gf62ce7b1+aa4237961e,22.0.1-4-g0b3f228+2a20fdde0d,22.0.1-4-g243d05b+871c1b8305,22.0.1-4-g3a563be+32dcf1063f,22.0.1-4-g44f2e3d+9e4ab0f4fa,22.0.1-42-gca6935d93+ba5e5ca3eb,22.0.1-5-g15c806e+85460ae5f3,22.0.1-5-g58711c4+611d128589,22.0.1-5-g75bb458+99c117b92f,22.0.1-6-g1c63a23+7fa3b7d9b6,22.0.1-6-g50866e6+84ff5a128b,22.0.1-6-g8d3140d+720564cf76,22.0.1-6-gd805d02+cc5644f571,22.0.1-8-ge5750ce+85460ae5f3,master-g6e05de7fdc+babf819c66,master-g99da0e417a+8d77f4f51a,w.2021.48
LSST Data Management Base Package
|
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 | findLength (self, Ixx, Iyy) |
def | computeRaDec (self, exposure, x, y) |
def | measureN (self, measCat, exposure) |
def | getLogName (self) |
Static Public Member Functions | |
def | getTransformClass () |
Public Attributes | |
keyRa | |
keyDec | |
keyX0 | |
keyY0 | |
keyX1 | |
keyY1 | |
keyFlux | |
keyL | |
keyAngle | |
keyX0Err | |
keyY0Err | |
keyX1Err | |
keyY1Err | |
NO_FLUX | |
NO_CONVERGE | |
NO_SIGMA | |
flagHandler | |
centriodExtractor | |
config | |
name | |
logName | |
Static Public Attributes | |
ConfigClass = SingleFrameNaiveTrailConfig | |
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 |
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 adaptive second moments to naively estimate the length and angle, and thus end-points, of a fast-moving, trailed source. The length is solved for via finding the root of the difference between the numerical (stack computed) and the analytic adaptive second moments. The angle, theta, from the x-axis is also computed via adaptive moments: theta = arctan(2*Ixy/(Ixx - Iyy))/2. The end points of the trail are then given by (xc +/- (L/2)*cos(theta), yc +/- (L/2)*sin(theta)), with xc and yc being the centroid coordinates. See also -------- lsst.meas.base.SingleFramePlugin
Definition at line 45 of file NaivePlugin.py.
def lsst.meas.extensions.trailedSources.NaivePlugin.SingleFrameNaiveTrailPlugin.__init__ | ( | self, | |
config, | |||
name, | |||
schema, | |||
metadata | |||
) |
Definition at line 86 of file NaivePlugin.py.
def lsst.meas.extensions.trailedSources.NaivePlugin.SingleFrameNaiveTrailPlugin.computeRaDec | ( | self, | |
exposure, | |||
x, | |||
y | |||
) |
Convert pixel coordinates to RA and Dec. Parameters ---------- exposure : `lsst.afw.image.ExposureF` Exposure object containing the WCS. x : `float` x coordinate of the trail centroid y : `float` y coodinate of the trail centroid Returns ------- ra : `float` Right ascension. dec : `float` Declination.
Definition at line 287 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
Reimplemented from lsst.meas.base.pluginsBase.BasePlugin.
Definition at line 212 of file NaivePlugin.py.
def lsst.meas.extensions.trailedSources.NaivePlugin.SingleFrameNaiveTrailPlugin.findLength | ( | self, | |
Ixx, | |||
Iyy | |||
) |
Find the length of a trail, given adaptive second-moments. Uses a root finder to compute the length of a trail corresponding to the adaptive second-moments computed by previous measurements (ie. SdssShape). Parameters ---------- Ixx : `float` Adaptive second-moment along x-axis. Iyy : `float` Adaptive second-moment along y-axis. Returns ------- length : `float` Length of the trail. results : `scipy.optimize.RootResults` Contains messages about convergence from the root finder.
Definition at line 252 of file NaivePlugin.py.
def lsst.meas.extensions.trailedSources.NaivePlugin.SingleFrameNaiveTrailPlugin.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 81 of file NaivePlugin.py.
|
inherited |
Definition at line 134 of file pluginsBase.py.
|
staticinherited |
Get the measurement transformation appropriate to this plugin. This returns a subclass of `transforms.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. Notes ----- By default, we copy everything from the input to the output without transformation.
Reimplemented in lsst.meas.base.plugins.ForcedPeakCentroidPlugin, and lsst.meas.base.plugins.SingleFramePeakCentroidPlugin.
Definition at line 169 of file pluginsBase.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
Reimplemented from lsst.meas.base.sfm.SingleFramePlugin.
Definition at line 119 of file NaivePlugin.py.
|
inherited |
Measure the properties of blended sources on a single image. This operates on all members of a blend family at once. The image may be from a single epoch, or it may be a coadd. Parameters ---------- measCat : `lsst.afw.table.SourceCatalog` Catalog describing the objects (and only those objects) being measured. Previously-measured quantities will be retrieved from here, and it will be updated in-place with 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. Notes ----- 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.
Reimplemented in lsst.meas.base.wrappers.WrappedSingleFramePlugin.
Definition at line 105 of file sfm.py.
|
staticinherited |
Definition at line 98 of file pluginsBase.py.
lsst.meas.extensions.trailedSources.NaivePlugin.SingleFrameNaiveTrailPlugin.centriodExtractor |
Definition at line 117 of file NaivePlugin.py.
|
staticinherited |
Definition at line 72 of file pluginsBase.py.
|
inherited |
Definition at line 130 of file pluginsBase.py.
|
static |
Definition at line 78 of file NaivePlugin.py.
|
staticinherited |
Definition at line 108 of file pluginsBase.py.
lsst.meas.extensions.trailedSources.NaivePlugin.SingleFrameNaiveTrailPlugin.flagHandler |
Definition at line 115 of file NaivePlugin.py.
|
staticinherited |
Definition at line 89 of file pluginsBase.py.
lsst.meas.extensions.trailedSources.NaivePlugin.SingleFrameNaiveTrailPlugin.keyAngle |
Definition at line 98 of file NaivePlugin.py.
lsst.meas.extensions.trailedSources.NaivePlugin.SingleFrameNaiveTrailPlugin.keyDec |
Definition at line 91 of file NaivePlugin.py.
lsst.meas.extensions.trailedSources.NaivePlugin.SingleFrameNaiveTrailPlugin.keyFlux |
Definition at line 96 of file NaivePlugin.py.
lsst.meas.extensions.trailedSources.NaivePlugin.SingleFrameNaiveTrailPlugin.keyL |
Definition at line 97 of file NaivePlugin.py.
lsst.meas.extensions.trailedSources.NaivePlugin.SingleFrameNaiveTrailPlugin.keyRa |
Definition at line 90 of file NaivePlugin.py.
lsst.meas.extensions.trailedSources.NaivePlugin.SingleFrameNaiveTrailPlugin.keyX0 |
Definition at line 92 of file NaivePlugin.py.
lsst.meas.extensions.trailedSources.NaivePlugin.SingleFrameNaiveTrailPlugin.keyX0Err |
Definition at line 101 of file NaivePlugin.py.
lsst.meas.extensions.trailedSources.NaivePlugin.SingleFrameNaiveTrailPlugin.keyX1 |
Definition at line 94 of file NaivePlugin.py.
lsst.meas.extensions.trailedSources.NaivePlugin.SingleFrameNaiveTrailPlugin.keyX1Err |
Definition at line 105 of file NaivePlugin.py.
lsst.meas.extensions.trailedSources.NaivePlugin.SingleFrameNaiveTrailPlugin.keyY0 |
Definition at line 93 of file NaivePlugin.py.
lsst.meas.extensions.trailedSources.NaivePlugin.SingleFrameNaiveTrailPlugin.keyY0Err |
Definition at line 103 of file NaivePlugin.py.
lsst.meas.extensions.trailedSources.NaivePlugin.SingleFrameNaiveTrailPlugin.keyY1 |
Definition at line 95 of file NaivePlugin.py.
lsst.meas.extensions.trailedSources.NaivePlugin.SingleFrameNaiveTrailPlugin.keyY1Err |
Definition at line 107 of file NaivePlugin.py.
|
inherited |
Definition at line 132 of file pluginsBase.py.
|
inherited |
Definition at line 131 of file pluginsBase.py.
lsst.meas.extensions.trailedSources.NaivePlugin.SingleFrameNaiveTrailPlugin.NO_CONVERGE |
Definition at line 113 of file NaivePlugin.py.
lsst.meas.extensions.trailedSources.NaivePlugin.SingleFrameNaiveTrailPlugin.NO_FLUX |
Definition at line 112 of file NaivePlugin.py.
lsst.meas.extensions.trailedSources.NaivePlugin.SingleFrameNaiveTrailPlugin.NO_SIGMA |
Definition at line 114 of file NaivePlugin.py.
|
staticinherited |
|
staticinherited |
Definition at line 80 of file pluginsBase.py.