validate_optics

validate_optics#

Validate the optical model parameters through ray tracing simulations of the whole telescope.

A point-like light source is assumed. The output includes PSF (D80), effective mirror area and effective focal length as a function of the off-axis angle.

The telescope zenith angle and the source distance can be set by command line arguments.

Examples of the plots generated by this application are shown below. On the top, the D80 vs off-axis is shown in cm (left) and deg (right). On the bottom, the effective mirror area (left) and the effective focal length (right) vs off-axis angle are shown.

../../_images/validate_optics_North-LST-1_d80_cm.png ../../_images/validate_optics_North-LST-1_d80_deg.png ../../_images/validate_optics_North-LST-1_eff_area.png ../../_images/validate_optics_North-LST-1_eff_flen.png

Command line arguments#

site (str, required)

North or South.

telescope (str, required)

Telescope model name (e.g. LST-1, SST-D, …).

model_version (str, optional)

Model version.

src_distance (float, optional)

Source distance in km.

zenith (float, optional)

Zenith angle in deg.

max_offset (float, optional)

Maximum offset angle in deg.

offset_steps (float, optional)

Offset angle step size.

plot_images (activation mode, optional)

Produce a multiple pages pdf file with the image plots.

test (activation mode, optional)

If activated, application will be faster by simulating fewer photons.

Example#

LST-1 5.0.0

simtools-validate-optics --site North --telescope LST-1 --max_offset 1.0 \\
--zenith 20 --src_distance 10 --test

The output is saved in simtools-output/validate_optics

Expected final print-out message:

INFO::ray_tracing(l434)::plot::Plotting eff_area vs off-axis angle
INFO::ray_tracing(l434)::plot::Plotting eff_flen vs off-axis angle