|
| def | __init__ (self, schema, dataIdFormat, coordField="coord", idField="id", radius=None, RecordClass=SourceRecord) |
| |
| def | makeRecord (self, inputRecord, dataId, objId) |
| |
| def | add (self, catalog, dataId) |
| |
| def | finish (self, removeAmbiguous=True) |
| |
Definition at line 11 of file multiMatch.py.
◆ __init__()
| def lsst.afw.table.multiMatch.MultiMatch.__init__ |
( |
|
self, |
|
|
|
schema, |
|
|
|
dataIdFormat, |
|
|
|
coordField = "coord", |
|
|
|
idField = "id", |
|
|
|
radius = None, |
|
|
|
RecordClass = SourceRecord |
|
) |
| |
Initialize a multi-catalog match.
Arguments:
schema -------- schema shared by all catalogs to be included in the match.
dataIdFormat -- dict of name: type for all data ID keys (e.g. {"visit":int, "ccd":int}).
coordField ---- prefix for _ra and _dec fields that contain the coordinates to use for the match.
idField ------- name of the field in schema that contains unique object IDs.
radius -------- lsst.geom.Angle; maximum separation for a match. Defaults to 0.5 arcseconds.
RecordClass --- type of record (a subclass of lsst.afw.table.BaseRecord) to expect in catalogs
to be matched.
Definition at line 14 of file multiMatch.py.
◆ add()
| def lsst.afw.table.multiMatch.MultiMatch.add |
( |
|
self, |
|
|
|
catalog, |
|
|
|
dataId |
|
) |
| |
Add a new catalog to the match, corresponding to the given data ID.
Definition at line 67 of file multiMatch.py.
◆ finish()
| def lsst.afw.table.multiMatch.MultiMatch.finish |
( |
|
self, |
|
|
|
removeAmbiguous = True |
|
) |
| |
Return the final match catalog, after sorting it by object, copying it to ensure contiguousness,
and optionally removing ambiguous matches.
After calling finish(), the in-progress state of the matcher is returned to the state it was
just after construction, with the exception of the object ID counter (which is not reset).
Definition at line 114 of file multiMatch.py.
◆ makeRecord()
| def lsst.afw.table.multiMatch.MultiMatch.makeRecord |
( |
|
self, |
|
|
|
inputRecord, |
|
|
|
dataId, |
|
|
|
objId |
|
) |
| |
Create a new result record from the given input record, using the given data ID and object ID
to fill in additional columns.
Definition at line 58 of file multiMatch.py.
◆ ambiguous
| lsst.afw.table.multiMatch.MultiMatch.ambiguous |
◆ coordKey
| lsst.afw.table.multiMatch.MultiMatch.coordKey |
◆ dataIdKeys
| lsst.afw.table.multiMatch.MultiMatch.dataIdKeys |
◆ idKey
| lsst.afw.table.multiMatch.MultiMatch.idKey |
◆ mapper
| lsst.afw.table.multiMatch.MultiMatch.mapper |
◆ nextObjId
| lsst.afw.table.multiMatch.MultiMatch.nextObjId |
◆ objectKey
| lsst.afw.table.multiMatch.MultiMatch.objectKey |
◆ radius
| lsst.afw.table.multiMatch.MultiMatch.radius |
◆ reference
| lsst.afw.table.multiMatch.MultiMatch.reference |
◆ result
| lsst.afw.table.multiMatch.MultiMatch.result |
◆ table
| lsst.afw.table.multiMatch.MultiMatch.table |
The documentation for this class was generated from the following file: