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
|
Public Member Functions | |
def | __init__ |
Construct a CameraWrapper. More... | |
def | nDetectors |
Return the number of detectors. More... | |
def | makeDetectorConfigs |
Construct a list of DetectorConfig, one per detector. More... | |
def | makeAmpCatalogs |
Construct a list of AmpInfoCatalog, one per detector. More... | |
def | makeTestRepositoryItems |
Make camera config and amp catalog dictionary, using default detector and amp files. More... | |
Public Attributes | |
plateScale | |
radialDistortion | |
detectorNameList | |
detectorIdList | |
ampInfoDict | |
ampCatalogDict | |
camera | |
Private Attributes | |
_afwTestDir | |
A simple Camera and the data used to construct it Intended for use with unit tests, thus saves some interesting information.
Definition at line 112 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 117 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 187 of file testUtils.py.
def lsst.afw.cameraGeom.testUtils.CameraWrapper.makeDetectorConfigs | ( | self, | |
detFile | |||
) |
Construct a list of DetectorConfig, one per detector.
Definition at line 146 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 299 of file testUtils.py.
def lsst.afw.cameraGeom.testUtils.CameraWrapper.nDetectors | ( | self | ) |
Return the number of detectors.
Definition at line 142 of file testUtils.py.
|
private |
Definition at line 129 of file testUtils.py.
lsst.afw.cameraGeom.testUtils.CameraWrapper.ampCatalogDict |
Definition at line 138 of file testUtils.py.
lsst.afw.cameraGeom.testUtils.CameraWrapper.ampInfoDict |
Definition at line 136 of file testUtils.py.
lsst.afw.cameraGeom.testUtils.CameraWrapper.camera |
Definition at line 139 of file testUtils.py.
lsst.afw.cameraGeom.testUtils.CameraWrapper.detectorIdList |
Definition at line 135 of file testUtils.py.
lsst.afw.cameraGeom.testUtils.CameraWrapper.detectorNameList |
Definition at line 134 of file testUtils.py.
lsst.afw.cameraGeom.testUtils.CameraWrapper.plateScale |
Definition at line 132 of file testUtils.py.
lsst.afw.cameraGeom.testUtils.CameraWrapper.radialDistortion |
Definition at line 133 of file testUtils.py.