LSSTApplications
10.0+286,10.0+36,10.0+46,10.0-2-g4f67435,10.1+152,10.1+37,11.0,11.0+1,11.0-1-g47edd16,11.0-1-g60db491,11.0-1-g7418c06,11.0-2-g04d2804,11.0-2-g68503cd,11.0-2-g818369d,11.0-2-gb8b8ce7
LSSTDataManagementBasePackage
|
Public Member Functions | |
def | __init__ |
def | lookup |
def | standardize |
Public Member Functions inherited from lsst.daf.butlerUtils.mapping.Mapping | |
def | __init__ |
def | keys |
def | map |
def | lookup |
def | have |
def | need |
Public Attributes | |
reference | |
refCols | |
refRegistry | |
range | |
columns | |
setFilter | |
Public Attributes inherited from lsst.daf.butlerUtils.mapping.Mapping | |
datasetType | |
registry | |
root | |
template | |
keyDict | |
python | |
persistable | |
storage | |
level | |
tables | |
range | |
columns | |
obsTimeName | |
CalibrationMapping is a Mapping subclass for calibration-type products. The difference is that data properties in the query or template can be looked up using a reference Mapping in addition to this one. CalibrationMapping Policies can contain the following: reference (string, optional): a list of tables for finding missing dataset identifier components (including the observation time, if a validity range is required) in the exposure registry; note that the "tables" entry refers to the calibration registry refCols (string, optional): a list of dataset properties required from the reference tables for lookups in the calibration registry validRange (bool): true if the calibration dataset has a validity range specified by a column in the tables of the reference dataset in the exposure registry) and two columns in the tables of this calibration dataset in the calibration registry) obsTimeName (string, optional): the name of the column in the reference dataset tables containing the observation time (default "taiObs") validStartName (string, optional): the name of the column in the calibration dataset tables containing the start of the validity range (default "validStart") validEndName (string, optional): the name of the column in the calibration dataset tables containing the end of the validity range (default "validEnd")
Definition at line 248 of file mapping.py.
def lsst.daf.butlerUtils.mapping.CalibrationMapping.__init__ | ( | self, | |
datasetType, | |||
policy, | |||
registry, | |||
calibRegistry, | |||
calibRoot, | |||
kwargs | |||
) |
Constructor for Mapping class. @param datasetType (string) @param policy (lsst.pex.policy.Policy) Mapping policy @param registry (lsst.daf.butlerUtils.Registry) Registry for metadata lookups @param calibRegistry (lsst.daf.butlerUtils.Registry) Registry for calibration metadata lookups @param calibRoot (string) Path of calibration root directory
Definition at line 280 of file mapping.py.
def lsst.daf.butlerUtils.mapping.CalibrationMapping.lookup | ( | self, | |
properties, | |||
dataId | |||
) |
Look up properties for in a metadata registry given a partial dataset identifier. @param properties (list of strings) @param dataId (dict) Dataset identifier @return (list of tuples) values of properties
Definition at line 302 of file mapping.py.
def lsst.daf.butlerUtils.mapping.CalibrationMapping.standardize | ( | self, | |
mapper, | |||
item, | |||
dataId | |||
) |
lsst.daf.butlerUtils.mapping.CalibrationMapping.columns |
Definition at line 298 of file mapping.py.
lsst.daf.butlerUtils.mapping.CalibrationMapping.range |
Definition at line 295 of file mapping.py.
lsst.daf.butlerUtils.mapping.CalibrationMapping.refCols |
Definition at line 291 of file mapping.py.
lsst.daf.butlerUtils.mapping.CalibrationMapping.reference |
Definition at line 289 of file mapping.py.
lsst.daf.butlerUtils.mapping.CalibrationMapping.refRegistry |
Definition at line 293 of file mapping.py.
lsst.daf.butlerUtils.mapping.CalibrationMapping.setFilter |
Definition at line 300 of file mapping.py.