LSST Applications 24.1.6,g063fba187b+56b85ce14a,g0f08755f38+df8a265115,g12f32b3c4e+891a09f10d,g1524ad2192+7a5d7b3fbd,g1653933729+a8ce1bb630,g168dd56ebc+a8ce1bb630,g28da252d5a+07cb1400be,g2bbee38e9b+ae03bbfc84,g2bc492864f+ae03bbfc84,g3156d2b45e+6e55a43351,g347aa1857d+ae03bbfc84,g35bb328faa+a8ce1bb630,g3a166c0a6a+ae03bbfc84,g3e281a1b8c+c5dd892a6c,g414038480c+6b9177ef31,g41af890bb2+8f257c4c0b,g781aacb6e4+a8ce1bb630,g7af13505b9+7137b3b17d,g80478fca09+6df6903293,g82479be7b0+091ce1d07f,g858d7b2824+df8a265115,g89c8672015+f4add4ffd5,g9125e01d80+a8ce1bb630,g9726552aa6+414189b318,ga5288a1d22+4a2bca08d7,gacef1a1666+c9a8ff65f4,gb58c049af0+d64f4d3760,gbcfae0f0a0+de1d42d831,gc28159a63d+ae03bbfc84,gcf0d15dbbd+72117bf34e,gda6a2b7d83+72117bf34e,gdaeeff99f8+1711a396fd,ge500cccec5+c8c9c9af63,ge79ae78c31+ae03bbfc84,gf0baf85859+c1f95f4921,gfa517265be+df8a265115,gfa999e8aa5+17cd334064,gfb92a5be7c+df8a265115
LSST Data Management Base Package
|
Public Member Functions | |
__init__ (self, config, name, schema, metadata, logName=None, **kwds) | |
measure (self, measRecord, exposure) | |
measureN (self, measCat, exposure) | |
Static Public Attributes | |
registry = PluginRegistry(SingleFramePluginConfig) | |
ConfigClass = SingleFramePluginConfig | |
Base class for single-frame measurement plugin. Parameters ---------- config : `SingleFramePlugin.ConfigClass` Configuration for this plugin. name : `str` The string with which the plugin was registered. schema : `lsst.afw.table.Schema` The schema for the source table . New fields are added here to hold measurements produced by this plugin. metadata : `lsst.daf.base.PropertySet` Plugin metadata that will be attached to the output catalog logName : `str`, optional Name to use when logging errors. Notes ----- New plugins can be created in Python by inheriting directly from this class and implementing the `measure`, `fail` (from `BasePlugin`), and optionally `__init__` and `measureN` methods. Plugins can also be defined in C++ via the `WrappedSingleFramePlugin` class.
lsst.meas.base.sfm.SingleFramePlugin.__init__ | ( | self, | |
config, | |||
name, | |||
schema, | |||
metadata, | |||
logName = None, | |||
** | kwds ) |
Reimplemented from lsst.meas.base.pluginsBase.BasePlugin.
Reimplemented in lsst.ip.diffim.dipoleMeasurement.ClassificationDipolePlugin, lsst.meas.base.plugins.SingleFrameFPPositionPlugin, lsst.meas.base.plugins.SingleFrameJacobianPlugin, lsst.meas.base.plugins.SingleFramePeakCentroidPlugin, lsst.meas.base.plugins.SingleFrameClassificationSizeExtendednessPlugin, lsst.meas.modelfit.cmodel.cmodelContinued.CModelSingleFramePlugin, lsst.meas.modelfit.psf.psfContinued.GeneralShapeletPsfApproxSingleFramePlugin, lsst.meas.base.wrappers.WrappedSingleFramePlugin, lsst.meas.extensions.trailedSources.NaivePlugin.SingleFrameNaiveTrailPlugin, lsst.meas.extensions.trailedSources.VeresPlugin.SingleFrameVeresTrailPlugin, lsst.meas.base.compensatedGaussian._compensatedGaussian.SingleFrameCompensatedGaussianFluxPlugin, and lsst.meas.base.compensatedGaussian._compensatedTophat.SingleFrameCompensatedTophatFluxPlugin.
Definition at line 83 of file sfm.py.
lsst.meas.base.sfm.SingleFramePlugin.measure | ( | self, | |
measRecord, | |||
exposure ) |
Measure the properties of a source on a single image. The image may be from a single epoch, or it may be a coadd. Parameters ---------- measRecord : `lsst.afw.table.SourceRecord` Record describing the object being measured. Previously-measured quantities may be retrieved from here, and it will be updated in-place tih 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.
Reimplemented in lsst.ip.diffim.dipoleMeasurement.ClassificationDipolePlugin, lsst.meas.base.compensatedGaussian._compensatedGaussian.SingleFrameCompensatedGaussianFluxPlugin, lsst.meas.base.compensatedGaussian._compensatedTophat.SingleFrameCompensatedTophatFluxPlugin, lsst.meas.base.plugins.SingleFrameFPPositionPlugin, lsst.meas.base.plugins.SingleFrameJacobianPlugin, lsst.meas.base.plugins.SingleFramePeakCentroidPlugin, lsst.meas.base.plugins.SingleFrameSkyCoordPlugin, lsst.meas.base.plugins.SingleFrameClassificationSizeExtendednessPlugin, lsst.meas.base.wrappers.WrappedSingleFramePlugin, lsst.meas.extensions.trailedSources.NaivePlugin.SingleFrameNaiveTrailPlugin, lsst.meas.extensions.trailedSources.VeresPlugin.SingleFrameVeresTrailPlugin, lsst.meas.modelfit.cmodel.cmodelContinued.CModelSingleFramePlugin, and lsst.meas.modelfit.psf.psfContinued.GeneralShapeletPsfApproxSingleFramePlugin.
Definition at line 86 of file sfm.py.
lsst.meas.base.sfm.SingleFramePlugin.measureN | ( | self, | |
measCat, | |||
exposure ) |
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 104 of file sfm.py.
|
static |
|
static |