DataIdPackerDimensions¶
-
class
lsst.daf.butler.DataIdPackerDimensions(given, required)¶ Bases:
objectA helper class that holds the three categories of dimensions associated with
DataIdPackerobjects.Parameters: - given :
DimensionGraph The dimensions that must be provided to construct a
DataIdPacker. The packed ID values are only unique and reversible with these dimensions held fixed.- required :
DimensionGraph The dimensions that are identified by the
DataIdpassed toDataIdPacker.packor returned byDataIdPacker.unpack.
Attributes Summary
givenThe dimensions that must be provided to construct a DataIdPacker(DimensionSet)requiredThe dimensions that must be present in a DataIdfor it to be packed (DimensionSet).universeA graph containing all known dimensions ( DimensionGraph).Methods Summary
fromConfig(universe, config)Construct from a Configsubset.Attributes Documentation
-
given¶ The dimensions that must be provided to construct a
DataIdPacker(DimensionSet)The packed ID values are only unique and reversible with these dimensions held fixed.
-
required¶ The dimensions that must be present in a
DataIdfor it to be packed (DimensionSet).
-
universe¶ A graph containing all known dimensions (
DimensionGraph).
Methods Documentation
- given :