Match sources to reference objects using the Optimistic Pattern Matcher
B algorithm of Tabur 2007.
Definition at line 103 of file matchOptimisticBTask.py.
◆ __init__()
def lsst.meas.astrom.matchOptimisticBTask.MatchOptimisticBTask.__init__ |
( |
|
self, |
|
|
** |
kwargs |
|
) |
| |
◆ filterStars()
def lsst.meas.astrom.matchOptimisticBTask.MatchOptimisticBTask.filterStars |
( |
|
self, |
|
|
|
refCat |
|
) |
| |
Extra filtering pass; subclass if desired.
Parameters
----------
refCat : `lsst.afw.table.SimpleCatalog`
Catalog of reference objects.
Returns
-------
trimmedRefCat : `lsst.afw.table.SimpleCatalog`
Reference catalog with some filtering applied. Currently no
filtering is applied.
Definition at line 113 of file matchOptimisticBTask.py.
◆ matchObjectsToSources()
def lsst.meas.astrom.matchOptimisticBTask.MatchOptimisticBTask.matchObjectsToSources |
( |
|
self, |
|
|
|
refCat, |
|
|
|
sourceCat, |
|
|
|
wcs, |
|
|
|
sourceFluxField, |
|
|
|
refFluxField, |
|
|
|
match_tolerance = None |
|
) |
| |
Match sources to position reference stars.
Parameters
----------
refCat : `lsst.afw.table.SimpleCatalog`
Reference catalog to match.
sourceCat : `lsst.afw.table.SourceCatalog`
Catalog of sources found on an exposure. This should already be
down-selected to "good"/"usable" sources in the calling Task.
wcs : `lsst.afw.geom.SkyWcs`
Current WCS of the exposure containing the sources.
sourceFluxField : `str`
Field of the sourceCat to use for flux
refFluxField : `str`
Field of the refCat to use for flux
match_tolerance : `lsst.meas.astrom.MatchTolerance`
Object containing information from previous
`lsst.meas.astrom.AstrometryTask` match/fit cycles for use in
matching. If `None` is config defaults.
Returns
-------
matchResult : `lsst.pipe.base.Struct`
Result struct with components
- ``matches`` : List of matches with distance below the maximum match
distance (`list` of `lsst.afw.table.ReferenceMatch`).
- ``useableSourceCat`` : Catalog of sources matched and suited for
WCS fitting (`lsst.afw.table.SourceCatalog`).
- ``match_tolerance`` : MatchTolerance object updated from this
match iteration (`lsst.meas.astrom.MatchTolerance`).
Definition at line 130 of file matchOptimisticBTask.py.
◆ ConfigClass
◆ edgeKey
lsst.meas.astrom.matchOptimisticBTask.MatchOptimisticBTask.edgeKey |
◆ interpolatedCenterKey
lsst.meas.astrom.matchOptimisticBTask.MatchOptimisticBTask.interpolatedCenterKey |
◆ saturatedKey
lsst.meas.astrom.matchOptimisticBTask.MatchOptimisticBTask.saturatedKey |
The documentation for this class was generated from the following file: