lsst.fgcmcal
22.0.1-15-g6a90155+2704009dfb
|
Public Member Functions | |
def | castDataIds (self, butler) |
def | makeDataRefList (self, namespace) |
A version of lsst.pipe.base.DataIdContainer that ensures that tract is additionally set with sourceTable_visit catalogs.
Definition at line 30 of file dataIds.py.
def lsst.fgcmcal.dataIds.TractCheckDataIdContainer.castDataIds | ( | self, | |
butler | |||
) |
Validate data IDs and cast them to the correct type (modify self.idList in place). This code casts the values in the data IDs dicts in `self.idList` to the type required by the butler. Data IDs are read from the command line as `str`, but the butler requires some values to be other types. For example "visit" values should be `int` (which is defined by the templates). This is taken from lsst.pipe.base.ArgumentParser.castDataIds(), adding in a check that the tract is an int, which must be done explicitly because it is not in the template. Parameters ---------- butler : `lsst.daf.persistence.Butler` Data butler.
Definition at line 36 of file dataIds.py.
def lsst.fgcmcal.dataIds.TractCheckDataIdContainer.makeDataRefList | ( | self, | |
namespace | |||
) |
Definition at line 88 of file dataIds.py.