Creates a catalog prepopulated with ids
This function is used to generate a SourceCatalog containing blank records
with Ids specified in the idList parameter
This function is primarily used when rerunning measurements on a footprint.
Specifying ids in a new measurement catalog which correspond to ids in an
old catalog makes comparing results much easier.
Parameters
----------
schema : lsst.afw.table.Schema
Schema used to describe the fields in the resulting SourceCatalog
oldCatalog : lsst.afw.table.SourceCatalog
Catalog containing previous measurements.
idList : iterable
Python iterable whose values should be numbers corresponding to
measurement ids, ids must exist in the oldCatalog
fields : iterable
Python iterable whose entries should be strings corresponding to schema
keys that exist in both the old catalog and input schema. Fields listed
will be copied from the old catalog into the new catalog.
Returns
-------
measCat : lsst.afw.table.SourceCatalog
SourceCatalog prepopulated with entries corresponding to the ids
specified
Definition at line 73 of file measurementInvestigationLib.py.