CameraWrapper¶
-
class
lsst.afw.cameraGeom.testUtils.
CameraWrapper
(plateScale=20.0, radialDistortion=0.925, isLsstLike=False)¶ Bases:
object
A simple Camera and the data used to construct it
Intended for use with unit tests, thus saves some interesting information.
Parameters: - plateScale :
float
Plate scale in arcsec/mm; 20.0 is for LSST.
- radialDistortion :
float
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.
- isLsstLike :
bool
. Make repository products with one raw image per amplifier (True) or with one raw image per detector (False).
Attributes Summary
nDetectors
Return the number of detectors Methods Summary
makeAmpCatalogs
(ampFile[, isLsstLike])Construct a dict of AmpInfoCatalog, one per detector. makeDetectorConfigs
(detFile)Construct a list of DetectorConfig, one per detector makeTestRepositoryItems
([isLsstLike])Make camera config and amp catalog dictionary, using default detector and amp files. Attributes Documentation
-
nDetectors
¶ Return the number of detectors
Methods Documentation
-
makeAmpCatalogs
(ampFile, isLsstLike=False)¶ Construct a dict of AmpInfoCatalog, one per detector.
Parameters:
-
makeDetectorConfigs
(detFile)¶ Construct a list of DetectorConfig, one per detector
- plateScale :