IsrProvenance#
- class lsst.ip.isr.IsrProvenance(calibType='unknown', **kwargs)#
Bases:
IsrCalibClass for the provenance of data used to construct calibration.
Provenance is not really a calibration, but we would like to record this when constructing the calibration, and it provides an example of the base calibration class.
Parameters#
- instrument
str, optional Name of the instrument the data was taken with.
- calibType
str, optional Type of calibration this provenance was generated for.
- detectorName
str, optional Name of the detector this calibration is for.
- detectorSerial
str, optional Identifier for the detector.
Methods Summary
fromDataIds(dataIdList)Update provenance from dataId List.
fromDict(dictionary)Construct provenance from a dictionary.
fromTable(tableList)Construct provenance from table list.
toDict()Return a dictionary containing the provenance information.
toTable()Return a list of tables containing the provenance.
updateMetadata([setDate])Update calibration metadata.
Methods Documentation
- fromDataIds(dataIdList)#
Update provenance from dataId List.
Parameters#
- dataIdList
list[lsst.daf.butler.DataId] List of dataIds used in generating this calibration.
- dataIdList
- classmethod fromDict(dictionary)#
Construct provenance from a dictionary.
Parameters#
- dictionary
dict Dictionary of provenance parameters.
Returns#
- provenance
lsst.ip.isr.IsrProvenance The provenance defined in the tables.
- dictionary
- classmethod fromTable(tableList)#
Construct provenance from table list.
Parameters#
- tableList
list[lsst.afw.table.Table] List of tables to construct the provenance from.
Returns#
- provenance
lsst.ip.isr.IsrProvenance The provenance defined in the tables.
- tableList
- toDict()#
Return a dictionary containing the provenance information.
Returns#
- dictionary
dict Dictionary of provenance.
- dictionary
- instrument