lsst.skymap
22.0.1-3-g997b569+44c1ffab12
|
Public Member Functions | |
def | getIntFromFilter (cls, name) |
def | getFilterNameFromInt (cls, num) |
def | getMaxIntForFilters (cls) |
def | configure (cls, dimensions) |
def | __init__ (self, DataCoordinate fixed, DimensionGraph dimensions) |
int | maxBits (self) |
DataCoordinate | unpack (self, int packedId) |
Static Public Attributes | |
tuple | SUPPORTED_FILTERS |
A `DimensionPacker` for tract, patch and optionally band, given a SkyMap. Parameters ---------- fixed : `lsst.daf.butler.DataCoordinate` Expanded data ID that must include at least the skymap dimension. dimensions : `lsst.daf.butler.DimensionGraph` The dimensions of data IDs packed by this instance. Must include skymap, tract, and patch, and may include band.
Definition at line 27 of file packers.py.
def lsst.skymap.packers.SkyMapDimensionPacker.__init__ | ( | self, | |
DataCoordinate | fixed, | ||
DimensionGraph | dimensions | ||
) |
Definition at line 80 of file packers.py.
def lsst.skymap.packers.SkyMapDimensionPacker.configure | ( | cls, | |
dimensions | |||
) |
Definition at line 72 of file packers.py.
def lsst.skymap.packers.SkyMapDimensionPacker.getFilterNameFromInt | ( | cls, | |
num | |||
) |
Return an band name from its integer representation.
Definition at line 62 of file packers.py.
def lsst.skymap.packers.SkyMapDimensionPacker.getIntFromFilter | ( | cls, | |
name | |||
) |
Return an integer that represents the band with the given name.
Definition at line 52 of file packers.py.
def lsst.skymap.packers.SkyMapDimensionPacker.getMaxIntForFilters | ( | cls | ) |
Definition at line 68 of file packers.py.
int lsst.skymap.packers.SkyMapDimensionPacker.maxBits | ( | self | ) |
Definition at line 92 of file packers.py.
DataCoordinate lsst.skymap.packers.SkyMapDimensionPacker.unpack | ( | self, | |
int | packedId | ||
) |
Definition at line 106 of file packers.py.
|
static |
Definition at line 40 of file packers.py.