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
|
A Detector and the data used to construct it. More...
Public Member Functions | |
def | __init__ |
Construct a DetectorWrapper. More... | |
Public Attributes | |
name | |
id | |
type | |
serial | |
bbox | |
pixelSize | |
ampExtent | |
plateScale | |
radialDistortion | |
ampInfo | |
orientation | |
transMap | |
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 17 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 , |
|||
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 PUPIL in radians to FOCAL_PLANE in mm); 0.925 is the value Dave Monet measured for lsstSim data |
[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 36 of file testUtils.py.
lsst.afw.cameraGeom.testUtils.DetectorWrapper.ampExtent |
Definition at line 65 of file testUtils.py.
lsst.afw.cameraGeom.testUtils.DetectorWrapper.ampInfo |
Definition at line 69 of file testUtils.py.
lsst.afw.cameraGeom.testUtils.DetectorWrapper.bbox |
Definition at line 63 of file testUtils.py.
lsst.afw.cameraGeom.testUtils.DetectorWrapper.detector |
Definition at line 100 of file testUtils.py.
lsst.afw.cameraGeom.testUtils.DetectorWrapper.id |
Definition at line 58 of file testUtils.py.
lsst.afw.cameraGeom.testUtils.DetectorWrapper.name |
Definition at line 57 of file testUtils.py.
lsst.afw.cameraGeom.testUtils.DetectorWrapper.orientation |
Definition at line 79 of file testUtils.py.
lsst.afw.cameraGeom.testUtils.DetectorWrapper.pixelSize |
Definition at line 64 of file testUtils.py.
lsst.afw.cameraGeom.testUtils.DetectorWrapper.plateScale |
Definition at line 66 of file testUtils.py.
lsst.afw.cameraGeom.testUtils.DetectorWrapper.radialDistortion |
Definition at line 67 of file testUtils.py.
lsst.afw.cameraGeom.testUtils.DetectorWrapper.serial |
Definition at line 60 of file testUtils.py.
lsst.afw.cameraGeom.testUtils.DetectorWrapper.transMap |
Definition at line 93 of file testUtils.py.
lsst.afw.cameraGeom.testUtils.DetectorWrapper.type |
Definition at line 59 of file testUtils.py.