copyAliasMapWithPrefix¶
- lsst.afw.table.copyAliasMapWithPrefix(inSchema, outSchema, prefix='')¶
- Copy an alias map from one schema into another. - This copies the alias map of one schema into another, optionally prepending a prefix to both the “from” and “to” names of the alias (the example use case here is for the “match” catalog created by - lsst.meas.astrom.denormalizeMatcheswhere prefixes- src_and- ref_are added to the source and reference field entries, respectively).- Parameters:
- inSchemalsst.afw.table.Schema
- The input schema whose - lsst.afw.table.AliasMapis to be copied to- outSchema.
- outSchemalsst.afw.table.Schema
- The output schema into which the - lsst.afw.table.AliasMapfrom- inSchemais to be copied (modified in place).
- prefixstr, optional
- An optional prefix to add to both the “from” and “to” names of the alias (default is an empty string). 
 
- inSchema
- Returns:
- outSchemalsst.afw.table.Schema
- The output schema with the alias mappings from - inSchemaadded.
 
- outSchema