TelescopeDescription#
- class ctapipe.instrument.TelescopeDescription(name: str, optics: OpticsDescription, camera: CameraDescription)[source]#
Bases:
objectDescribes a Cherenkov Telescope and its associated
OpticsDescriptionandCameraDescription- Attributes:
- name: str
Telescope name
- tel_type: str
Telescope type
- optics: OpticsDescription
the optics associated with this telescope
- camera: CameraDescription
the camera associated with this telescope
Attributes Summary
Name of the camera
Name of the optics
Size classification
Methods Summary
from_name(optics_name, camera_name)construct a TelescopeDescription from a name (telescope description string)
Attributes Documentation
- camera#
- camera_name#
Name of the camera
- name#
- optics#
- optics_name#
Name of the optics
- type#
Size classification
Methods Documentation
- classmethod from_name(optics_name, camera_name)[source]#
construct a TelescopeDescription from a name (telescope description string)
- Parameters:
- camera_namestr
camera name
- optics_namestr
optics name (e.g. LST, or SST-ASTRI), also called telescope_description
- Returns:
- TelescopeDescription
Notes
Warning: This method loads a pre-generated
TelescopeDescriptionand 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 theTelescopeDescriptionthat is provided bysource.subarray.tel[i]or bysource.subarray.telescope_types[type_name]. This will guarantee that the pixels in the event data correspond with theTelescopeDescription