lsst.meas.astrom
14.0-4-g4cc409d+13
|
Simple matching of a source catalog to a reference catalog. More...
Public Member Functions | |
def | __init__ (self, butler=None, refObjLoader=None, kwargs) |
Ctor. More... | |
def | run (self, catalog, filterName=None) |
Load reference objects and match to them. More... | |
def | calculateCircle (self, catalog) |
Calculate a circle enclosing the catalog. More... | |
Public Attributes | |
refObjLoader | |
Static Public Attributes | |
ConfigClass = DirectMatchConfig | |
Simple matching of a source catalog to a reference catalog.
Match sources to reference objects. The matching permits no rotation or scaling, but uses the existing sky positions in the source catalog. This is often useful for QA, as it allows validating the pipeline astrometry and photometry against the reference catalog.
Note that this DirectMatchTask is not currently suitable for use within the AstrometryTask, as it has a different interface and serves a different purpose.
Ctor. Either a 'butler' or 'refObjLoader' is required.
butler | Data butler, or None |
refObjLoader | For loading reference objects (lsst.meas.algorithms.LoadReferenceObjectsTask), or None |
kwargs | Other keyword arguments required for instantiating a Task (e.g., 'config') |
Load reference objects and match to them.
[in] | catalog | Catalog to match to (lsst.afw.table.SourceCatalog) |
[in] | filterName | Name of filter, for loading fluxes (str) |
config = DirectMatchConfig() task = DirectMatchTask(butler=butler, config=config) matchResults = task.run(catalog)
Definition at line 24 of file directMatch.py.
def lsst.meas.astrom.directMatch.DirectMatchTask.__init__ | ( | self, | |
butler = None , |
|||
refObjLoader = None , |
|||
kwargs | |||
) |
Ctor.
Either a 'butler' or 'refObjLoader' is required.
butler | Data butler, or None |
refObjLoader | For loading reference objects (lsst.meas.algorithms.LoadReferenceObjectsTask), or None |
kwargs | Other keyword arguments required for instantiating a Task (e.g., 'config') |
Definition at line 70 of file directMatch.py.
def lsst.meas.astrom.directMatch.DirectMatchTask.calculateCircle | ( | self, | |
catalog | |||
) |
Calculate a circle enclosing the catalog.
[in] | catalog | Catalog we will encircle (lsst.afw.table.SourceCatalog) |
Definition at line 117 of file directMatch.py.
def lsst.meas.astrom.directMatch.DirectMatchTask.run | ( | self, | |
catalog, | |||
filterName = None |
|||
) |
Load reference objects and match to them.
[in] | catalog | Catalog to match to (lsst.afw.table.SourceCatalog) |
[in] | filterName | Name of filter, for loading fluxes (str) |
Definition at line 88 of file directMatch.py.
|
static |
Definition at line 67 of file directMatch.py.
lsst.meas.astrom.directMatch.DirectMatchTask.refObjLoader |
Definition at line 84 of file directMatch.py.