DetectorConfig#
- class lsst.afw.cameraGeom.DetectorConfig(*args, **kw)#
Bases:
ConfigA configuration that represents (and can be used to construct) a Detector.
Attributes Summary
Return the detector bounding box from the separate box endpoint values.
x0 of pixel bounding box (
int)x1 of pixel bounding box (
int)y0 of pixel bounding box (
int)y1 of pixel bounding box (
int)Flattened crosstalk coefficient matrix; should have nAmps x nAmps entries.
Detector type: SCIENCE=0, FOCUS=1, GUIDER=2, WAVEFRONT=3 (
int)ID of detector slot (
int)Name of detector slot (
str)Return the detector offset as a Point3D from the separate config values.
x offset from the origin of the camera in mm in the transposed system.
y offset from the origin of the camera in mm in the transposed system.
z offset from the origin of the camera in mm in the transposed system.
Return the cameraGeom.Orientation() object defined by the configuration values.
How this specific detector is constructed; e.g. CCD, E2V, HgCdTe (
str, default'CCD').pitch (rotation about y) of the detector in degrees (
float)Return the pixel size as an Extent2D from the separate values.
Pixel size in the x dimension in mm (
float)Pixel size in the y dimension in mm (
float)Return the detector reference position as a Point2D from the separate config values.
x position of the reference point in the detector in pixels in transposed coordinates.
y position of the reference point in the detector in pixels in transposed coordinates.
roll (rotation about x) of the detector in degrees (
float)Serial string associated with this specific detector (
str)Dictionary of camera transforms keyed on the transform type.
Transpose the pixel grid before orienting in focal plane? (
bool)yaw (rotation about z) of the detector in degrees.
Methods Summary
getCrosstalk(numAmps)Return a 2-D numpy array of crosstalk coefficients of the proper shape
Attributes Documentation
- bbox#
Return the detector bounding box from the separate box endpoint values.
- bbox_x0#
x0 of pixel bounding box (
int)
- bbox_x1#
x1 of pixel bounding box (
int)
- bbox_y0#
y0 of pixel bounding box (
int)
- bbox_y1#
y1 of pixel bounding box (
int)
- crosstalk#
Flattened crosstalk coefficient matrix; should have nAmps x nAmps entries. Once ‘reshape’-ed,
coeffs[i][j]is the fraction of the j-th amp present on the i-th amp. (List, defaultNone)
- detectorType#
Detector type: SCIENCE=0, FOCUS=1, GUIDER=2, WAVEFRONT=3 (
int)
- id#
ID of detector slot (
int)
- name#
Name of detector slot (
str)
- offset#
Return the detector offset as a Point3D from the separate config values.
- offset_x#
x offset from the origin of the camera in mm in the transposed system. (
float)
- offset_y#
y offset from the origin of the camera in mm in the transposed system. (
float)
- offset_z#
z offset from the origin of the camera in mm in the transposed system. (
float, default0.0)
- orientation#
Return the cameraGeom.Orientation() object defined by the configuration values.
- physicalType#
How this specific detector is constructed; e.g. CCD, E2V, HgCdTe (
str, default'CCD')
- pitchDeg#
pitch (rotation about y) of the detector in degrees (
float)
- pixelSize#
Return the pixel size as an Extent2D from the separate values.
- pixelSize_x#
Pixel size in the x dimension in mm (
float)
- pixelSize_y#
Pixel size in the y dimension in mm (
float)
- refPos#
Return the detector reference position as a Point2D from the separate config values.
- refpos_x#
x position of the reference point in the detector in pixels in transposed coordinates. (
float)
- refpos_y#
y position of the reference point in the detector in pixels in transposed coordinates. (
float)
- rollDeg#
roll (rotation about x) of the detector in degrees (
float)
- serial#
Serial string associated with this specific detector (
str)
- transformDict#
Dictionary of camera transforms keyed on the transform type. (
TransformMapConfig, default<class 'lsst.afw.cameraGeom._transformConfig.TransformMapConfig'>)
- transposeDetector#
Transpose the pixel grid before orienting in focal plane? (
bool)
- yawDeg#
yaw (rotation about z) of the detector in degrees. This includes any necessary rotation to go from detector coordinates to camera coordinates after optional transposition. (
float)
Methods Documentation
- getCrosstalk(numAmps)#
Return a 2-D numpy array of crosstalk coefficients of the proper shape