TelescopeDescription#

class ctapipe.instrument.telescope.TelescopeDescription(name: str, optics: OpticsDescription, camera: CameraDescription)[source]#

Bases: object

Describes a Cherenkov Telescope and its associated OpticsDescription and CameraDescription

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

camera

camera_name

Name of the camera

name

optics

optics_name

Name of the optics

type

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 TelescopeDescription 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 an EventSource and use the TelescopeDescription that is provided by source.subarray.tel[i] or by source.subarray.telescope_types[type_name]. This will guarantee that the pixels in the event data correspond with the TelescopeDescription