CameraTests¶
- class lsst.obs.base.camera_tests.CameraTests¶
Bases:
objectTests that the butler returns a useable Camera.
- In the subclasses’s setUp():
Call setUp_camera() to fill in required parameters.
Methods Summary
setUp_camera([camera_name, n_detectors, ...])Set up the necessary variables for camera tests.
Check that the butler returns the right type of camera.
Get a camera instance and check it is an iterable.
Check the plate scale at center of focal plane.
Methods Documentation
- setUp_camera(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
- camera_name
- test_camera_butler()¶
Check that the butler returns the right type of camera.
- test_iterable()¶
Get a camera instance and check it is an iterable.
- test_plate_scale()¶
Check the plate scale at center of focal plane.
Check plate_scale using the FOCAL_PLANE to FIELD_ANGLE transform from the camera.