|
lsst.afw
15.0-25-gacd707fca
|
A Detector and the data used to construct it. More...
Public Member Functions | |
| def | __init__ (self, name="detector 1", id=1, detType=SCIENCE, serial="xkcd722", bbox=None, numAmps=3, pixelSize=(0.02, 0.02), ampExtent=(5, 6), orientation=Orientation(), plateScale=20.0, radialDistortion=0.925, crosstalk=None, modFunc=None) |
| Construct a DetectorWrapper. More... | |
Public Attributes | |
| name | |
| id | |
| type | |
| serial | |
| bbox | |
| pixelSize | |
| ampExtent | |
| plateScale | |
| radialDistortion | |
| ampInfo | |
| orientation | |
| transMap | |
| crosstalk | |
| detector | |
A Detector and the data used to construct it.
Intended for use with unit tests, thus saves a copy of all input parameters. Does not support setting details of amplifiers.
Definition at line 18 of file testUtils.py.
| def lsst.afw.cameraGeom.testUtils.DetectorWrapper.__init__ | ( | self, | |
name = "detector 1", |
|||
id = 1, |
|||
detType = SCIENCE, |
|||
serial = "xkcd722", |
|||
bbox = None, |
|||
numAmps = 3, |
|||
pixelSize = (0.02, 0.02), |
|||
ampExtent = (5, 6), |
|||
orientation = Orientation(), |
|||
plateScale = 20.0, |
|||
radialDistortion = 0.925, |
|||
crosstalk = None, |
|||
modFunc = None |
|||
| ) |
Construct a DetectorWrapper.
| [in] | name | detector name |
| [in] | id | detector ID (int) |
| [in] | detType | detector type (an lsst.afw.cameraGeom.DetectorType) |
| [in] | serial | serial "number" (a string) |
| [in] | bbox | bounding box; defaults to (0, 0), (1024x1024) (an lsst.afw.geom.Box2I) |
| [in] | numAmps | number of amplifiers (int) |
| [in] | pixelSize | pixel size (mm) (an lsst.afw.geom.Point2D) |
| [in] | ampExtent | dimensions of amplifier image bbox (an lsst.afw.geom.Extent2I) |
| [in] | orientation | orientation of CCC in focal plane (lsst.afw.cameraGeom.Orientation) |
| [in] | plateScale | plate scale in arcsec/mm; 20.0 is for LSST |
| [in] | radialDistortion | radial distortion, in mm/rad^2 (the r^3 coefficient of the radial distortion polynomial that converts FIELD_ANGLE in radians to FOCAL_PLANE in mm); 0.925 is the value Dave Monet measured for lsstSim data |
| [in] | crosstalk | crosstalk coefficient matrix |
| [in] | modFunc | a function that can modify attributes just before constructing the detector; modFunc receives one argument: a DetectorWrapper with all attributes except detector set. |
Definition at line 39 of file testUtils.py.
| lsst.afw.cameraGeom.testUtils.DetectorWrapper.ampExtent |
Definition at line 71 of file testUtils.py.
| lsst.afw.cameraGeom.testUtils.DetectorWrapper.ampInfo |
Definition at line 75 of file testUtils.py.
| lsst.afw.cameraGeom.testUtils.DetectorWrapper.bbox |
Definition at line 69 of file testUtils.py.
| lsst.afw.cameraGeom.testUtils.DetectorWrapper.crosstalk |
Definition at line 107 of file testUtils.py.
| lsst.afw.cameraGeom.testUtils.DetectorWrapper.detector |
Definition at line 110 of file testUtils.py.
| lsst.afw.cameraGeom.testUtils.DetectorWrapper.id |
Definition at line 63 of file testUtils.py.
| lsst.afw.cameraGeom.testUtils.DetectorWrapper.name |
Definition at line 62 of file testUtils.py.
| lsst.afw.cameraGeom.testUtils.DetectorWrapper.orientation |
Definition at line 86 of file testUtils.py.
| lsst.afw.cameraGeom.testUtils.DetectorWrapper.pixelSize |
Definition at line 70 of file testUtils.py.
| lsst.afw.cameraGeom.testUtils.DetectorWrapper.plateScale |
Definition at line 72 of file testUtils.py.
| lsst.afw.cameraGeom.testUtils.DetectorWrapper.radialDistortion |
Definition at line 73 of file testUtils.py.
| lsst.afw.cameraGeom.testUtils.DetectorWrapper.serial |
Definition at line 65 of file testUtils.py.
| lsst.afw.cameraGeom.testUtils.DetectorWrapper.transMap |
Definition at line 100 of file testUtils.py.
| lsst.afw.cameraGeom.testUtils.DetectorWrapper.type |
Definition at line 64 of file testUtils.py.
1.8.13