|
lsst.afw
13.0-94-ga1c444047
|
Public Member Functions | |
| def | __init__ (self, plateScale=20.0, radialDistortion=0.925, isLsstLike=False) |
| Construct a CameraWrapper. More... | |
| def | nDetectors (self) |
| Return the number of detectors. More... | |
| def | makeDetectorConfigs (self, detFile) |
| Construct a list of DetectorConfig, one per detector. More... | |
| def | makeAmpCatalogs (self, ampFile, isLsstLike=False) |
| Construct a list of AmpInfoCatalog, one per detector. More... | |
| def | makeTestRepositoryItems (self, isLsstLike=False) |
| Make camera config and amp catalog dictionary, using default detector and amp files. More... | |
Public Attributes | |
| plateScale | |
| radialDistortion | |
| detectorNameList | |
| detectorIdList | |
| ampInfoDict | |
| ampCatalogDict | |
| camera | |
A simple Camera and the data used to construct it Intended for use with unit tests, thus saves some interesting information.
Definition at line 122 of file testUtils.py.
| def lsst.afw.cameraGeom.testUtils.CameraWrapper.__init__ | ( | self, | |
plateScale = 20.0, |
|||
radialDistortion = 0.925, |
|||
isLsstLike = False |
|||
| ) |
Construct a CameraWrapper.
| [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] | isLsstLike | make repository products with one raw image per amplifier (True) or with one raw image per detector (False) |
Definition at line 128 of file testUtils.py.
| def lsst.afw.cameraGeom.testUtils.CameraWrapper.makeAmpCatalogs | ( | self, | |
| ampFile, | |||
isLsstLike = False |
|||
| ) |
Construct a list of AmpInfoCatalog, one per detector.
| [in] | ampFile | path to amplifier data file |
| [in] | isLsstLike | if True then there is one raw image per amplifier; if False then there is one raw image per detector |
Definition at line 201 of file testUtils.py.
| def lsst.afw.cameraGeom.testUtils.CameraWrapper.makeDetectorConfigs | ( | self, | |
| detFile | |||
| ) |
Construct a list of DetectorConfig, one per detector.
Definition at line 159 of file testUtils.py.
| def lsst.afw.cameraGeom.testUtils.CameraWrapper.makeTestRepositoryItems | ( | self, | |
isLsstLike = False |
|||
| ) |
Make camera config and amp catalog dictionary, using default detector and amp files.
| [in] | isLsstLike | if True then there is one raw image per amplifier; if False then there is one raw image per detector |
Definition at line 334 of file testUtils.py.
| def lsst.afw.cameraGeom.testUtils.CameraWrapper.nDetectors | ( | self | ) |
Return the number of detectors.
Definition at line 155 of file testUtils.py.
| lsst.afw.cameraGeom.testUtils.CameraWrapper.ampCatalogDict |
Definition at line 149 of file testUtils.py.
| lsst.afw.cameraGeom.testUtils.CameraWrapper.ampInfoDict |
Definition at line 147 of file testUtils.py.
| lsst.afw.cameraGeom.testUtils.CameraWrapper.camera |
Definition at line 151 of file testUtils.py.
| lsst.afw.cameraGeom.testUtils.CameraWrapper.detectorIdList |
Definition at line 146 of file testUtils.py.
| lsst.afw.cameraGeom.testUtils.CameraWrapper.detectorNameList |
Definition at line 145 of file testUtils.py.
| lsst.afw.cameraGeom.testUtils.CameraWrapper.plateScale |
Definition at line 143 of file testUtils.py.
| lsst.afw.cameraGeom.testUtils.CameraWrapper.radialDistortion |
Definition at line 144 of file testUtils.py.
1.8.13