LSSTApplications  10.0+286,10.0+36,10.0+46,10.0-2-g4f67435,10.1+152,10.1+37,11.0,11.0+1,11.0-1-g47edd16,11.0-1-g60db491,11.0-1-g7418c06,11.0-2-g04d2804,11.0-2-g68503cd,11.0-2-g818369d,11.0-2-gb8b8ce7
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