reindexCatalog¶
- lsst.afw.table.reindexCatalog(catalog, indices, deep=True)¶
- Apply a numpy index array to an afw Catalog - Parameters:
- cataloglsst.afw.table.SourceCatalog
- Catalog to reindex. 
- indicesnumpy.ndarrayofint
- Index array. 
- deepbool
- Whether or not to make a deep copy of the original catalog. 
 
- catalog
- Returns:
- newsubclass of lsst.afw.table.BaseCatalog
- Reindexed catalog. Records are shallow copies of those in - catalog.
 
- newsubclass of