lsst.cp.pipe
20.0.0-17-ga9337b4+bffd08d315
|
Public Member Functions | |
def | __init__ (self, *registry, inputCollection, outputCollection, lastRunOnly=True, **kwargs) |
def | run (self, datasetTypeName, timespan) |
Public Attributes | |
registry | |
inputCollection | |
outputCollection | |
Static Public Attributes | |
ConfigClass = pexConfig.Config | |
Create a way to bless existing calibration products. The inputs are assumed to have been constructed via cp_pipe, and already exist in the butler. Parameters ---------- registry : `lsst.daf.butler.Registry` Registry pointing at the butler repository to operate on. inputCollection : `str` Data collection to pull calibrations from. Usually an existing `~CollectionType.RUN` or `~CollectionType.CHAINED` collection, and may _not_ be a `~CollectionType.CALIBRATION` collection or a nonexistent collection. outputCollection : `str` Data collection to store final calibrations. If it already exists, it must be a `~CollectionType.CALIBRATION` collection. If not, a new `~CollectionType.CALIBRATION` collection with this name will be registered. lastRunOnly : `bool`, optional If `True` (default) and ``inputCollection`` is a `~CollectionType.CHAINED` collection, only search its first child collection (which usually corresponds to the last processing run), instead of all child collections in the chain. This behavior ensures that datasets in a collection used as input to that processing run are never included in the certification. **kwargs : Additional arguments forwarded to `lsst.pipe.base.Task.__init__`.
Definition at line 27 of file cpCertify.py.
def lsst.cp.pipe.cpCertify.CertifyCalibration.__init__ | ( | self, | |
* | registry, | ||
inputCollection, | |||
outputCollection, | |||
lastRunOnly = True , |
|||
** | kwargs | ||
) |
Definition at line 60 of file cpCertify.py.
def lsst.cp.pipe.cpCertify.CertifyCalibration.run | ( | self, | |
datasetTypeName, | |||
timespan | |||
) |
Certify all of the datasets of the given type in the input collection. Parameters ---------- datasetTypeName : `str` Name of the dataset type to certify. timespan : `lsst.daf.butler.Timespan` Timespan for the validity range.
Definition at line 72 of file cpCertify.py.
|
static |
Definition at line 58 of file cpCertify.py.
lsst.cp.pipe.cpCertify.CertifyCalibration.inputCollection |
Definition at line 69 of file cpCertify.py.
lsst.cp.pipe.cpCertify.CertifyCalibration.outputCollection |
Definition at line 70 of file cpCertify.py.
lsst.cp.pipe.cpCertify.CertifyCalibration.registry |
Definition at line 62 of file cpCertify.py.