lsst.meas.astrom
16.0-14-g22e2ff2
|
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, epoch=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) |
[in] | epoch | Epoch for proper motion and parallax correction (an astropy.time.Time), or None |
config = DirectMatchConfig() task = DirectMatchTask(butler=butler, config=config) matchResults = task.run(catalog)
Definition at line 27 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 73 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 125 of file directMatch.py.
def lsst.meas.astrom.directMatch.DirectMatchTask.run | ( | self, | |
catalog, | |||
filterName = None , |
|||
epoch = 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) |
[in] | epoch | Epoch for proper motion and parallax correction (an astropy.time.Time), or None |
Definition at line 94 of file directMatch.py.
|
static |
Definition at line 70 of file directMatch.py.
lsst.meas.astrom.directMatch.DirectMatchTask.refObjLoader |
Definition at line 90 of file directMatch.py.