Definition at line 33 of file _source.py.
◆ getChildren()
def lsst.afw.table._source.SourceCatalog.getChildren |
( |
|
self, |
|
|
|
parent, |
|
|
* |
args |
|
) |
| |
Return the subset of self for which the parent field equals the
given value.
In order for this method to return the correct result, it must be
sorted by parent (i.e. self.isSorted(SourceTable.getParentKey()) must
be True). This is naturally the case with SourceCatalogs produced by
the detection and deblending tasks, but it may not be true when
concatenating multiple such catalogs.
Additional Catalogs or sequences whose elements correspond in order to
the records of self (i.e. ``zip(self, *args)`` is valid) will be
subset using the same slice object used on self, and these subsets
will be returned along with the subset of self.
Parameters
----------
parent : `int`
ID of the parent to get children for.
args : `~lsst.afw.table.Catalog`
Additional catalogs to subset for the childrens to return.
Returns
-------
children : iterable of `~lsst.afw.table.SourceRecord`
Children sources.
Definition at line 35 of file _source.py.
◆ getCentroidErrKey
lsst.afw.table._source.SourceCatalog.getCentroidErrKey |
|
static |
◆ getCentroidFlagKey
lsst.afw.table._source.SourceCatalog.getCentroidFlagKey |
|
static |
◆ getCentroidKey
lsst.afw.table._source.SourceCatalog.getCentroidKey |
|
static |
◆ getShapeDefinition
lsst.afw.table._source.SourceCatalog.getShapeDefinition |
|
static |
◆ getShapeErrKey
lsst.afw.table._source.SourceCatalog.getShapeErrKey |
|
static |
◆ getShapeFlagKey
lsst.afw.table._source.SourceCatalog.getShapeFlagKey |
|
static |
◆ getShapeKey
lsst.afw.table._source.SourceCatalog.getShapeKey |
|
static |
◆ hasCentroidSlot
lsst.afw.table._source.SourceCatalog.hasCentroidSlot |
|
static |
◆ hasShapeSlot
lsst.afw.table._source.SourceCatalog.hasShapeSlot |
|
static |
◆ reason [1/2]
string lsst.afw.table._source.SourceCatalog.reason = 'Use `getSchema().getAliasMap().get("slot_Centroid")` instead. To be removed after 20.0.0.') |
|
static |
◆ reason [2/2]
lsst.afw.table._source.SourceCatalog.reason |
|
static |
The documentation for this class was generated from the following file: