|
lsst.obs.base
19.0.0-35-gb03e55a
|
Public Member Functions | |
| def | __init__ |
| def | __str__ (self) |
| def | addRule |
| def | makeMatching |
| def | __call__ |
| def | dimensionNames (self) |
Public Attributes | |
| handlers | |
| skyMap | |
| skyMapName | |
| datasetTypeName | |
Callable object that translates Gen2 Data IDs to Gen3 Data IDs for a
particular DatasetType.
Translators should usually be constructed via the `makeMatching` method.
Parameters
----------
handlers : `list`
A list of KeyHandlers this Translator should use.
skyMap : `BaseSkyMap`, optional
SkyMap instance used to define any tract or patch Dimensions.
skyMapName : `str`
Gen3 SkyMap Dimension name to be associated with any tract or patch
Dimensions.
datasetTypeName : `str`
Name of the dataset type whose data IDs this translator handles.
Definition at line 279 of file translators.py.
| def lsst.obs.base.gen2to3.translators.Translator.__init__ | ( | self, | |
| handlers | |||
| ) |
Definition at line 297 of file translators.py.
| def lsst.obs.base.gen2to3.translators.Translator.__call__ | ( | self, | |
| gen2id | |||
| ) |
Definition at line 414 of file translators.py.
| def lsst.obs.base.gen2to3.translators.Translator.__str__ | ( | self | ) |
Definition at line 322 of file translators.py.
| def lsst.obs.base.gen2to3.translators.Translator.addRule | ( | cls, | |
| handler | |||
| ) |
Definition at line 327 of file translators.py.
| def lsst.obs.base.gen2to3.translators.Translator.dimensionNames | ( | self | ) |
The names of the dimensions populated by this Translator (`frozenset`).
Definition at line 432 of file translators.py.
| def lsst.obs.base.gen2to3.translators.Translator.makeMatching | ( | cls, | |
| datasetTypeName | |||
| ) |
Definition at line 368 of file translators.py.
| lsst.obs.base.gen2to3.translators.Translator.datasetTypeName |
Definition at line 302 of file translators.py.
| lsst.obs.base.gen2to3.translators.Translator.handlers |
Definition at line 299 of file translators.py.
| lsst.obs.base.gen2to3.translators.Translator.skyMap |
Definition at line 300 of file translators.py.
| lsst.obs.base.gen2to3.translators.Translator.skyMapName |
Definition at line 301 of file translators.py.
1.8.13