4 __all__ = [
"CameraConfig",
"DetectorConfig"]
7 """!A configuration that represents (and can be used to construct) a Detector
9 transformDict = pexConfig.ConfigField(
"Dictionary of camera transforms keyed on the transform type.", TransformMapConfig)
10 name = pexConfig.Field(
"Name of detector slot", str)
11 id = pexConfig.Field(
"ID of detector slot", int)
12 bbox_x0 = pexConfig.Field(
"x0 of pixel bounding box", int)
13 bbox_y0 = pexConfig.Field(
"y0 of pixel bounding box", int)
14 bbox_x1 = pexConfig.Field(
"x1 of pixel bounding box", int)
15 bbox_y1 = pexConfig.Field(
"y1 of pixel bounding box", int)
16 detectorType = pexConfig.Field(
"Detector type: SCIENCE=0, FOCUS=1, GUIDER=2, WAVEFRONT=3", int)
17 serial = pexConfig.Field(
"Serial string associated with this specific detector", str)
18 offset_x = pexConfig.Field(
"x offset from the origin of the camera in mm in the transposed system.", float)
19 offset_y = pexConfig.Field(
"y offset from the origin of the camera in mm in the transposed system.", float)
20 refpos_x = pexConfig.Field(
"x position of the reference point in the detector in pixels "+\
21 "in transposed coordinates.", float)
22 refpos_y = pexConfig.Field(
"y position of the reference point in the detector in pixels "+\
23 "in transposed coordinates.", float)
24 yawDeg = pexConfig.Field(
"yaw (rotation about z) of the detector in degrees. "+\
25 "This includes any necessary rotation to go from detector coordinates to camera coordinates "+\
26 "after optional transposition.", float)
27 pitchDeg = pexConfig.Field(
"pitch (rotation about y) of the detector in degrees", float)
28 rollDeg = pexConfig.Field(
"roll (rotation about x) of the detector in degrees", float)
29 pixelSize_x = pexConfig.Field(
"Pixel size in the x dimension in mm", float)
30 pixelSize_y = pexConfig.Field(
"Pixel size in the y dimension in mm", float)
34 transposeDetector = pexConfig.Field(
"Transpose the pixel grid before orienting in focal plane?", bool)
37 """!A configuration that represents (and can be used to construct) a Camera
39 detectorList = pexConfig.ConfigDictField(
"List of detector configs", keytype=int, itemtype=DetectorConfig)
40 transformDict = pexConfig.ConfigField(
"Dictionary of camera transforms keyed on the transform type.", TransformMapConfig)
41 name = pexConfig.Field(
"Name of this camera", str)
43 plateScale = pexConfig.Field(
"Plate scale of the camera in arcsec/mm", float)
46 radialCoeffs = pexConfig.ListField(
"Coefficients for radial distortion", float)
A configuration that represents (and can be used to construct) a Detector.
A configuration that represents (and can be used to construct) a Camera.