Match an input source catalog with objects from a reference catalog.
More...
Match an input source catalog with objects from a reference catalog.
Definition at line 60 of file ref_match.py.
def lsst.meas.astrom.ref_match.RefMatchTask.__init__ |
( |
|
self, |
|
|
|
refObjLoader, |
|
|
|
schema = None , |
|
|
|
kwargs |
|
) |
| |
Construct a RefMatchTask.
- Parameters
-
[in] | refObjLoader | A reference object loader object |
[in] | schema | ignored; available for compatibility with an older astrometry task |
[in] | kwargs | additional keyword arguments for pipe_base Task.__init__ |
Definition at line 68 of file ref_match.py.
def 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
-
[in] | exposure | exposure that the sources overlap |
[in] | sourceCat | catalog of sources detected on the exposure (an lsst.afw.table.SourceCatalog) |
- Returns
- an lsst.pipe.base.Struct with these fields:
- refCat reference object catalog of objects that overlap the exposure (with some margin) (an lsst::afw::table::SimpleCatalog)
- matches a list of lsst.afw.table.ReferenceMatch
- matchMeta metadata needed to unpersist matches (an lsst.daf.base.PropertyList)
- Note
- ignores config.matchDistanceSigma
Definition at line 80 of file ref_match.py.
lsst.meas.astrom.ref_match.RefMatchTask.refObjLoader |
The documentation for this class was generated from the following file: