SkyPixSystem#
- class lsst.daf.butler.SkyPixSystem(name: str, *, maxLevel: int, PixelizationClass: type[PixelizationABC])#
Bases:
TopologicalFamilyClass for hierarchical pixelization of the sky.
A
TopologicalFamilythat represents a hierarchical pixelization of the sky.Parameters#
- name
str Name of the system.
- maxLevel
int Maximum level (inclusive) of the hierarchy.
- PixelizationClass
type(lsst.sphgeom.PixelizationABCsubclass) Class whose instances represent a particular level of this pixelization.
Methods Summary
choose(dimensions)Select the best member of this family to use.
make_column_reference(endpoint)Create a column reference to the generalized region column for the given endpoint.
Methods Documentation
- choose(dimensions: DimensionGroup) SkyPixDimension#
Select the best member of this family to use.
These are to be used in a query join or data ID when more than one is present.
Usually this should correspond to the most fine-grained region.
Parameters#
- dimensions
DimensionGroup Dimensions to choose from, if this is a dimension-based topological family.
Returns#
- best
TopologicalRelationshipEndpoint The best endpoint from this family for these dimensions.
- dimensions
- make_column_reference(endpoint: TopologicalRelationshipEndpoint) DimensionFieldReference#
Create a column reference to the generalized region column for the given endpoint.
Parameters#
- endpoint
TopologicalRelationshipEndpoint Endpoint to create a column reference to.
Returns#
- column
queries.tree.ColumnReference Column reference.
- endpoint
- name