SkyPixDimension

class lsst.daf.butler.SkyPixDimension(name: str, pixelization: lsst.sphgeom._sphgeom.Pixelization)

Bases: lsst.daf.butler.Dimension

A special Dimension subclass for hierarchical pixelizations of the sky.

Unlike most other dimensions, skypix dimension records are not stored in the database, as these records only contain an integer pixel ID and a region on the sky, and each of these can be computed directly from the other.

Parameters:
name : str

Name of the dimension. By convention, this is a lowercase string abbreviation for the pixelization followed by its integer level, such as “htm7”.

pixelization : sphgeom.Pixelization

Pixelization instance that can compute regions from IDs and IDs from points.

Methods Summary

hasTable() Return True if this element is associated with a table (even if that table “belongs” to another element).

Methods Documentation

hasTable() → bool

Return True if this element is associated with a table (even if that table “belongs” to another element).

Instances of the DimensionElement base class itself are always associated with tables.