guess_telescope#
- ctapipe.instrument.guess_telescope(n_pixels, focal_length, n_mirror_tiles=None)[source]#
From n_pixels of the camera and the focal_length, guess which telescope we are dealing with. This is mainly needed to add human readable names to telescopes read from simtel array.
- Parameters:
- n_pixels: int
number of pixels of the telescope’s camera
- focal_length: float or u.Quantity[length]
Focal length, either in m or as astropy quantity
- Returns:
- result: GuessingResult
A namedtuple having type, telescope_name, camera_name and n_mirrors fields