copyIntoCatalog¶
- lsst.afw.table.copyIntoCatalog(catalog, target, sourceSchema=None, sourcePrefix=None, targetPrefix=None)¶
- Copy entries from one Catalog into another. - Parameters:
- cataloglsst.afw.table.base.Catalog
- Source catalog to be copied from. 
- targetlsst.afw.table.base.Catalog
- Target catalog to be copied to (edited in place). 
- sourceSchemalsst.afw.table.Schema, optional
- Schema of source catalog. 
- sourcePrefixstr, optional
- If set, only those keys with that prefix will be copied. 
- targetPrefixstr, optional
- If set, prepend it to the copied (target) key name 
 
- catalog
- Returns:
- targetlsst.afw.table.base.Catalog
- Target catalog that is edited in place. 
 
- target