CameraDescription#
- class ctapipe.instrument.camera.description.CameraDescription(name, geometry: CameraGeometry, readout: CameraReadout)[source]#
Bases:
objectDescribes a Cherenkov camera and its associated
CameraGeometryandCameraReadout- Parameters:
- name: str
Camera name (e.g. NectarCam, LSTCam, …)
- geometry: CameraGeometry
The pixel geometry of this camera
- readout: CameraReadout
The readout properties for this camera
Attributes Summary
Methods Summary
from_name(name)Construct a CameraDescription from a camera name
Returns a list of camera names that are available currently on the system.
Attributes Documentation
- geometry#
- name#
- readout#
Methods Documentation
- classmethod from_name(name)[source]#
Construct a CameraDescription from a camera name
- Parameters:
- name: str
Camera name (e.g. NectarCam, LSTCam, …)
- Returns:
- CameraDescription
Notes
Warning: This method loads a pre-generated
CameraDescriptionand is thus not guaranteed to be the same pixel ordering or even positions that correspond with event data! Therefore if you are analysing data, you should not rely on this method, but rather open the data with anEventSourceand use theCameraDescriptionthat is provided bysource.subarray.tel[i].cameraor bysource.subarray.camera_types[type_name]. This will guarantee that the pixels in the event data correspond with theCameraDescription