|
lsst.obs.base
18.1.0-21-gde80ed3+6
|
Public Member Functions | |
| def | setUp_camera (self, camera_name=None, n_detectors=None, first_detector_name=None, plate_scale=None) |
| def | test_iterable (self) |
| def | test_camera_butler (self) |
| def | test_plate_scale (self) |
Public Attributes | |
| camera_data | |
Tests that the butler returns a useable Camera.
In the subclasses's setUp():
* Call setUp_camera() to fill in required parameters.
Definition at line 32 of file camera_tests.py.
| def lsst.obs.base.camera_tests.CameraTests.setUp_camera | ( | self, | |
camera_name = None, |
|||
n_detectors = None, |
|||
first_detector_name = None, |
|||
plate_scale = None |
|||
| ) |
Set up the necessary variables for camera tests.
Parameters
----------
camera_name : `str`
name of this camera
n_detectors : `int`
number of detectors in this camera
first_detector_name : `str`
name of the first detector in this camera
plate_scale : `lsst.geom.Angle`
plate scale at center of focal plane, as angle-on-sky/mm
Definition at line 45 of file camera_tests.py.
| def lsst.obs.base.camera_tests.CameraTests.test_camera_butler | ( | self | ) |
Check that the butler returns the right type of camera.
Definition at line 81 of file camera_tests.py.
| def lsst.obs.base.camera_tests.CameraTests.test_iterable | ( | self | ) |
Simplest camera test: can we get a Camera instance, and does iterating return Detectors?
Definition at line 73 of file camera_tests.py.
| def lsst.obs.base.camera_tests.CameraTests.test_plate_scale | ( | self | ) |
Check the plate scale at center of focal plane Check plate_scale using the FOCAL_PLANE to FIELD_ANGLE transform from the camera.
Definition at line 88 of file camera_tests.py.
| lsst.obs.base.camera_tests.CameraTests.camera_data |
Definition at line 67 of file camera_tests.py.
1.8.13