|
lsst.skymap
19.0.0+42
|
Public Member Functions | |
| def | getIntFromFilter (cls, name) |
| def | getFilterNameFromInt (cls, num) |
| def | getMaxIntForFilters (cls) |
| def | configure (cls, dimensions) |
| def | __init__ |
| def | maxBits (self) |
| def | unpack |
Static Public Attributes | |
| list | SUPPORTED_FILTERS = [None] + list("ugrizyUBGVRIZYJHK") |
A `DimensionPacker` for tract, patch and optionally abstract_filter,
given a SkyMap.
Parameters
----------
fixed : `lsst.daf.butler.ExpandedDataCoordinate`
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 abstract_filter.
Definition at line 27 of file packers.py.
| def lsst.skymap.packers.SkyMapDimensionPacker.__init__ | ( | self, | |
| fixed | |||
| ) |
Definition at line 76 of file packers.py.
| def lsst.skymap.packers.SkyMapDimensionPacker.configure | ( | cls, | |
| dimensions | |||
| ) |
Definition at line 68 of file packers.py.
| def lsst.skymap.packers.SkyMapDimensionPacker.getFilterNameFromInt | ( | cls, | |
| num | |||
| ) |
Return an abstract_filter name from its integer representation.
Definition at line 58 of file packers.py.
| def lsst.skymap.packers.SkyMapDimensionPacker.getIntFromFilter | ( | cls, | |
| name | |||
| ) |
Return an integer that represents the abstract_filter with the given name.
Definition at line 48 of file packers.py.
| def lsst.skymap.packers.SkyMapDimensionPacker.getMaxIntForFilters | ( | cls | ) |
Definition at line 64 of file packers.py.
| def lsst.skymap.packers.SkyMapDimensionPacker.maxBits | ( | self, | |
| int | |||
| ) |
Definition at line 88 of file packers.py.
| def lsst.skymap.packers.SkyMapDimensionPacker.unpack | ( | self, | |
| packedId | |||
| ) |
Definition at line 102 of file packers.py.
|
static |
Definition at line 40 of file packers.py.
1.8.13