lsst.afw  14.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
lsst.afw.cameraGeom.testUtils.DetectorWrapper Class Reference

A Detector and the data used to construct it. More...

Inheritance diagram for lsst.afw.cameraGeom.testUtils.DetectorWrapper:

Public Member Functions

def __init__
 Construct a DetectorWrapper. More...
 

Public Attributes

 name
 
 id
 
 type
 
 serial
 
 bbox
 
 pixelSize
 
 ampExtent
 
 plateScale
 
 radialDistortion
 
 ampInfo
 
 orientation
 
 transMap
 
 detector
 

Detailed Description

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 22 of file testUtils.py.

Constructor & Destructor Documentation

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.

Parameters
[in]namedetector name
[in]iddetector ID (int)
[in]detTypedetector type (an lsst.afw.cameraGeom.DetectorType)
[in]serialserial "number" (a string)
[in]bboxbounding box; defaults to (0, 0), (1024x1024) (an lsst.afw.geom.Box2I)
[in]numAmpsnumber of amplifiers (int)
[in]pixelSizepixel size (mm) (an lsst.afw.geom.Point2D)
[in]ampExtentdimensions of amplifier image bbox (an lsst.afw.geom.Extent2I)
[in]orientationorientation of CCC in focal plane (lsst.afw.cameraGeom.Orientation)
[in]plateScaleplate scale in arcsec/mm; 20.0 is for LSST
[in]radialDistortionradial 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]modFunca 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 42 of file testUtils.py.

Member Data Documentation

lsst.afw.cameraGeom.testUtils.DetectorWrapper.ampExtent

Definition at line 73 of file testUtils.py.

lsst.afw.cameraGeom.testUtils.DetectorWrapper.ampInfo

Definition at line 77 of file testUtils.py.

lsst.afw.cameraGeom.testUtils.DetectorWrapper.bbox

Definition at line 71 of file testUtils.py.

lsst.afw.cameraGeom.testUtils.DetectorWrapper.detector

Definition at line 109 of file testUtils.py.

lsst.afw.cameraGeom.testUtils.DetectorWrapper.id

Definition at line 65 of file testUtils.py.

lsst.afw.cameraGeom.testUtils.DetectorWrapper.name

Definition at line 64 of file testUtils.py.

lsst.afw.cameraGeom.testUtils.DetectorWrapper.orientation

Definition at line 88 of file testUtils.py.

lsst.afw.cameraGeom.testUtils.DetectorWrapper.pixelSize

Definition at line 72 of file testUtils.py.

lsst.afw.cameraGeom.testUtils.DetectorWrapper.plateScale

Definition at line 74 of file testUtils.py.

lsst.afw.cameraGeom.testUtils.DetectorWrapper.radialDistortion

Definition at line 75 of file testUtils.py.

lsst.afw.cameraGeom.testUtils.DetectorWrapper.serial

Definition at line 67 of file testUtils.py.

lsst.afw.cameraGeom.testUtils.DetectorWrapper.transMap

Definition at line 102 of file testUtils.py.

lsst.afw.cameraGeom.testUtils.DetectorWrapper.type

Definition at line 66 of file testUtils.py.


The documentation for this class was generated from the following file: