lsst.meas.astrom gf1cff7945b+4e7ad9fee3
|
Public Member Functions | |
__init__ (self, refObjLoader=None, **kwargs) | |
setRefObjLoader (self, refObjLoader) | |
loadAndMatch (self, exposure, sourceCat) | |
Public Attributes | |
refObjLoader | |
Static Public Attributes | |
ConfigClass = RefMatchConfig | |
Protected Member Functions | |
_computeMatchStatsOnSky (self, matchList) | |
_getExposureMetadata (self, exposure) | |
Static Protected Attributes | |
str | _DefaultName = "calibrationBaseClass" |
Match an input source catalog with objects from a reference catalog. Parameters ---------- refObjLoader : `lsst.meas.algorithms.ReferenceLoader` A reference object loader object; gen3 pipeline tasks will pass `None` and call `setRefObjLoader` in `runQuantum`. **kwargs Additional keyword arguments for pipe_base `lsst.pipe.base.Task`.
Definition at line 75 of file ref_match.py.
lsst.meas.astrom.ref_match.RefMatchTask.__init__ | ( | self, | |
refObjLoader = None, | |||
** | kwargs ) |
Reimplemented in lsst.meas.astrom.astrometry.AstrometryTask.
Definition at line 89 of file ref_match.py.
|
protected |
Compute on-sky radial distance statistics for a match list Parameters ---------- matchList : `list` of `lsst.afw.table.ReferenceMatch` list of matches between reference object and sources; the distance field is the only field read and it must be set to distance in radians Returns ------- result : `lsst.pipe.base.Struct` Result struct with components: - ``distMean`` : clipped mean of on-sky radial separation (`float`) - ``distStdDev`` : clipped standard deviation of on-sky radial separation (`float`) - ``maxMatchDist`` : distMean + self.config.matchDistanceSigma * distStdDev (`float`)
Definition at line 205 of file ref_match.py.
|
protected |
Extract metadata from an exposure. Parameters ---------- exposure : `lsst.afw.image.Exposure` Returns ------- result : `lsst.pipe.base.Struct` Result struct with components: - ``bbox`` : parent bounding box (`lsst.geom.Box2I`) - ``wcs`` : exposure WCS (`lsst.afw.geom.SkyWcs`) - ``photoCalib`` : photometric calibration (`lsst.afw.image.PhotoCalib`) - ``filterName`` : name of filter band (`str`) - ``epoch`` : date of exposure (`astropy.time.Time`)
Definition at line 234 of file ref_match.py.
lsst.meas.astrom.ref_match.RefMatchTask.loadAndMatch | ( | self, | |
exposure, | |||
sourceCat ) |
Load reference objects overlapping an exposure and match to sources detected on that exposure. Parameters ---------- exposure : `lsst.afw.image.Exposure` exposure that the sources overlap sourceCat : `lsst.afw.table.SourceCatalog.` catalog of sources detected on the exposure Returns ------- result : `lsst.pipe.base.Struct` Result struct with Components: - ``refCat`` : reference object catalog of objects that overlap the exposure (`lsst.afw.table.SimpleCatalog`) - ``matches`` : Matched sources and references (`list` of `lsst.afw.table.ReferenceMatch`) - ``matchMeta`` : metadata needed to unpersist matches (`lsst.daf.base.PropertyList`) Notes ----- ignores config.matchDistanceSigma
Definition at line 116 of file ref_match.py.
lsst.meas.astrom.ref_match.RefMatchTask.setRefObjLoader | ( | self, | |
refObjLoader ) |
Sets the reference object loader for the task. Parameters ---------- refObjLoader An instance of a reference object loader task or class.
Definition at line 105 of file ref_match.py.
|
staticprotected |
Definition at line 87 of file ref_match.py.
|
static |
Definition at line 86 of file ref_match.py.
lsst.meas.astrom.ref_match.RefMatchTask.refObjLoader |
Definition at line 92 of file ref_match.py.