LSSTApplications  10.0-2-g4f67435,11.0.rc2+1,11.0.rc2+12,11.0.rc2+3,11.0.rc2+4,11.0.rc2+5,11.0.rc2+6,11.0.rc2+7,11.0.rc2+8
LSSTDataManagementBasePackage
transformConfig.py
Go to the documentation of this file.
1 import lsst.pex.config as pexConfig
2 from lsst.afw.geom import xyTransformRegistry
3 
4 class TransformConfig(pexConfig.Config):
5  transform = xyTransformRegistry.makeField(
6  doc = "an XYTransform from the registry"
7  )
8 
9 class TransformMapConfig(pexConfig.Config):
10  transforms = pexConfig.ConfigDictField(
11  doc = "Dict of coordinate system name: TransformConfig",
12  keytype = str,
13  itemtype = TransformConfig,
14  )
15  nativeSys = pexConfig.Field(
16  doc = "Name of native coordinate system",
17  dtype = str,
18  optional = False,
19  )
20