DetectorWrapper

class lsst.afw.cameraGeom.testUtils.DetectorWrapper(name='detector 1', id=1, detType=<DetectorType.SCIENCE: 0>, serial='xkcd722', bbox=None, numAmps=3, pixelSize=(0.02, 0.02), ampExtent=(5, 6), orientation=<lsst.afw.cameraGeom.Orientation object>, plateScale=20.0, radialDistortion=0.925, crosstalk=None, modFunc=None, physicalType='CCD', cameraBuilder=None)

Bases: object

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.

Parameters:
namestr (optional)

Detector name.

idint (optional)

Detector ID.

detTypelsst.afw.cameraGeom.DetectorType (optional)

Detector type.

serialstr (optional)

Serial “number”.

bboxlsst.geom.Box2I (optional)

Bounding box; defaults to (0, 0), (1024x1024).

numAmpsint (optional)

Number of amplifiers.

pixelSizelsst.geom.Point2D (optional)

Pixel size (mm).

ampExtentlsst.geom.Extent2I (optional)

Dimensions of amplifier image bbox.

orientationlsst.afw.cameraGeom.Orientation (optional)

Orientation of CCC in focal plane.

plateScalefloat (optional)

Plate scale in arcsec/mm; 20.0 is for LSST.

radialDistortionfloat (optional)

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

crosstalkiterable (optional)

Crosstalk coefficient matrix. If None, then no crosstalk correction can be performed.

modFunccallable (optional)

A function that can modify attributes just before constructing the detector; modFunc receives one argument: a DetectorWrapper with all attributes except detector set.

physicalTypestr (optional)

The physical type of the device, e.g. CCD, E2V, HgCdTe