LookupKey¶
- class lsst.daf.butler.LookupKey(name: str | None = None, dimensions: DimensionGroup | None = None, dataId: dict[str, Any] | None = None, *, universe: DimensionUniverse | None = None)¶
- Bases: - object- Representation of key that can be used to lookup information. - Look up is based on dataset type name, storage class name, dimensions. - Parameters:
- namestr, optional
- Primary index string for lookup. If this string looks like it represents dimensions (via - dim1+dim2+dim3syntax) the name is converted to a- DimensionGroupand stored in- dimensionsproperty.
- dimensionsDimensionGroup, optional
- Dimensions that are relevant for lookup. Should not be specified if - nameis also specified.
- dataIddict, optional
- Keys and values from a dataId that should control lookups. 
- universeDimensionUniverse, optional
- Set of all known dimensions, used to expand and validate - nameor- dimensions. Required if the key represents dimensions and a full- DimensionGroupis not provided.
 
- name
 - Attributes Summary - Return dict of keys/values that are important for dataId lookup. - Dimensions associated with lookup ( - DimensionGroup).- Primary name string to use as lookup ( - str).- Methods Summary - clone([name, dimensions, dataId])- Clone the object, overriding some options. - Attributes Documentation - dimensions¶
- Dimensions associated with lookup ( - DimensionGroup).
 - Methods Documentation - clone(name: str | None = None, dimensions: DimensionGroup | None = None, dataId: dict[str, Any] | None = None) LookupKey¶
- Clone the object, overriding some options. - Used to create a new instance of the object whilst updating some of it. - Parameters:
- namestr, optional
- Primary index string for lookup. Will override - dimensionsif- dimensionsare set.
- dimensionsDimensionGroup, optional
- Dimensions that are relevant for lookup. Will override - nameif- nameis already set.
- dataIddict, optional
- Keys and values from a dataId that should control lookups. 
 
- name
- Returns:
- cloneLookupKey
- Copy with updates. 
 
- clone