Ray tracing#

The telescope turns parallel light into an image. This component traces photons through a compiled optical model: the mirrors, the telescope structure that shadows them, the focal surface and the optical responses such as mirror reflectivity. A photon ends at the camera entrance, or is lost on the way, and the trace records where.

You can trace stars and point sources, calibration light and the photons of a photon stream. The optical model comes from the simulation-models database, so the same code serves any telescope that it describes. The stream step connects the atmosphere to sim_telarray’s camera simulation.

Command line

Compile an optical model, trace a star and plot the result.

Command line
Python

Trace photon arrays and analyse the arrivals.

Python usage
Light sources

Stars, point sources, flashers and air-shower photons as input.

Light sources
Photon streams

Trace a photon stream from the atmosphere to the camera.

Photon streams
Optics

Mirrors, photon paths, optical responses and shadowing.

Optics
Validation

Accuracy checks, comparisons with sim_telarray and performance.

Validation
Python API

Optical-model methods, compilation and analysis helpers.

Python API