LSST Applications 27.0.0,g0265f82a02+469cd937ee,g02d81e74bb+21ad69e7e1,g1470d8bcf6+cbe83ee85a,g2079a07aa2+e67c6346a6,g212a7c68fe+04a9158687,g2305ad1205+94392ce272,g295015adf3+81dd352a9d,g2bbee38e9b+469cd937ee,g337abbeb29+469cd937ee,g3939d97d7f+72a9f7b576,g487adcacf7+71499e7cba,g50ff169b8f+5929b3527e,g52b1c1532d+a6fc98d2e7,g591dd9f2cf+df404f777f,g5a732f18d5+be83d3ecdb,g64a986408d+21ad69e7e1,g858d7b2824+21ad69e7e1,g8a8a8dda67+a6fc98d2e7,g99cad8db69+f62e5b0af5,g9ddcbc5298+d4bad12328,ga1e77700b3+9c366c4306,ga8c6da7877+71e4819109,gb0e22166c9+25ba2f69a1,gb6a65358fc+469cd937ee,gbb8dafda3b+69d3c0e320,gc07e1c2157+a98bf949bb,gc120e1dc64+615ec43309,gc28159a63d+469cd937ee,gcf0d15dbbd+72a9f7b576,gdaeeff99f8+a38ce5ea23,ge6526c86ff+3a7c1ac5f1,ge79ae78c31+469cd937ee,gee10cc3b42+a6fc98d2e7,gf1cff7945b+21ad69e7e1,gfbcc870c63+9a11dc8c8f
LSST Data Management Base Package
|
Public Member Functions | |
__init__ (self, schema, dataIdFormat, coordField="coord", idField="id", radius=None, RecordClass=SourceRecord) | |
makeRecord (self, inputRecord, dataId, objId) | |
add (self, catalog, dataId) | |
finish (self, removeAmbiguous=True) | |
Public Attributes | |
radius | |
mapper | |
coordKey | |
idKey | |
dataIdKeys | |
objectKey | |
result | |
reference | |
ambiguous | |
table | |
nextObjId | |
Initialize a multi-catalog match. Parameters ---------- schema : `lsst.afw.table.Schema` Schema shared by all catalogs to be included in the match. dataIdFormat : `dict` Set of name: type for all data ID keys (e.g. {"visit":int, "ccd":int}). coordField : `str`, optional Prefix for _ra and _dec fields that contain the coordinates to use for the match. idField : `str`, optional Name of the field in schema that contains unique object IDs. radius : `lsst.geom.Angle`, optional Maximum separation for a match. Defaults to 0.5 arcseconds. RecordClass : `lsst.afw.table.BaseRecord` Type of record to expect in catalogs to be matched.
Definition at line 30 of file multiMatch.py.
lsst.afw.table.multiMatch.MultiMatch.__init__ | ( | self, | |
schema, | |||
dataIdFormat, | |||
coordField = "coord", | |||
idField = "id", | |||
radius = None, | |||
RecordClass = SourceRecord ) |
Definition at line 52 of file multiMatch.py.
lsst.afw.table.multiMatch.MultiMatch.add | ( | self, | |
catalog, | |||
dataId ) |
Add a new catalog to the match, corresponding to the given data ID. The new catalog is appended to the `self.result` and `self.reference` catalogs. Parameters ---------- catalog : `lsst.afw.table.base.Catalog` Catalog to be added to the match result. dataId : `DataId` or `dict` Data id for the catalog to be added.
Definition at line 111 of file multiMatch.py.
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). Parameters ---------- removeAmbiguous : `bool`, optional Should ambiguous matches be removed from the match catalog? Defaults to True. Returns ------- result : `lsst.afw.table.base.Catalog` Final match catalog, sorted by object.
Definition at line 167 of file multiMatch.py.
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. Parameters ---------- inputRecord : `lsst.afw.table.source.sourceRecord` Record to use as the reference for the new result. dataId : `DataId` or `dict` Data id describing the data. objId : `int` Object id of the object to be added. Returns ------- outputRecord : `lsst.afw.table.source.sourceRecord` Newly generated record.
Definition at line 87 of file multiMatch.py.
lsst.afw.table.multiMatch.MultiMatch.ambiguous |
Definition at line 81 of file multiMatch.py.
lsst.afw.table.multiMatch.MultiMatch.coordKey |
Definition at line 61 of file multiMatch.py.
lsst.afw.table.multiMatch.MultiMatch.dataIdKeys |
Definition at line 63 of file multiMatch.py.
lsst.afw.table.multiMatch.MultiMatch.idKey |
Definition at line 62 of file multiMatch.py.
lsst.afw.table.multiMatch.MultiMatch.mapper |
Definition at line 59 of file multiMatch.py.
lsst.afw.table.multiMatch.MultiMatch.nextObjId |
Definition at line 85 of file multiMatch.py.
lsst.afw.table.multiMatch.MultiMatch.objectKey |
Definition at line 66 of file multiMatch.py.
lsst.afw.table.multiMatch.MultiMatch.radius |
Definition at line 58 of file multiMatch.py.
lsst.afw.table.multiMatch.MultiMatch.reference |
Definition at line 78 of file multiMatch.py.
lsst.afw.table.multiMatch.MultiMatch.result |
Definition at line 74 of file multiMatch.py.
lsst.afw.table.multiMatch.MultiMatch.table |
Definition at line 83 of file multiMatch.py.