CameraDescription#
- class ctapipe.instrument.camera.description.CameraDescription(name, geometry: CameraGeometry, readout: CameraReadout)[source]#
Bases:
object
Describes a Cherenkov camera and its associated
CameraGeometry
andCameraReadout
- 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
CameraDescription
and 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 anEventSource
and use theCameraDescription
that is provided bysource.subarray.tel[i].camera
or bysource.subarray.camera_types[type_name]
. This will guarantee that the pixels in the event data correspond with theCameraDescription