gammasimtools 0.6.0__py3-none-any.whl → 0.8.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (353) hide show
  1. gammasimtools-0.8.1.dist-info/METADATA +172 -0
  2. gammasimtools-0.8.1.dist-info/RECORD +346 -0
  3. {gammasimtools-0.6.0.dist-info → gammasimtools-0.8.1.dist-info}/WHEEL +1 -1
  4. gammasimtools-0.8.1.dist-info/entry_points.txt +31 -0
  5. simtools/_version.py +2 -2
  6. simtools/applications/calculate_trigger_rate.py +210 -0
  7. simtools/applications/convert_all_model_parameters_from_simtel.py +372 -0
  8. simtools/applications/{print_array_elements.py → convert_geo_coordinates_of_array_elements.py} +58 -63
  9. simtools/applications/convert_model_parameter_from_simtel.py +119 -0
  10. simtools/applications/{add_file_to_db.py → db_add_file_to_db.py} +70 -60
  11. simtools/applications/db_add_model_parameters_from_repository_to_db.py +184 -0
  12. simtools/applications/db_add_value_from_json_to_db.py +105 -0
  13. simtools/applications/db_development_tools/write_array_elements_positions_to_repository.py +180 -0
  14. simtools/applications/db_get_array_layouts_from_db.py +162 -0
  15. simtools/applications/{get_file_from_db.py → db_get_file_from_db.py} +30 -34
  16. simtools/applications/db_get_parameter_from_db.py +131 -0
  17. simtools/applications/db_inspect_databases.py +52 -0
  18. simtools/applications/derive_mirror_rnda.py +39 -255
  19. simtools/applications/derive_psf_parameters.py +441 -0
  20. simtools/applications/generate_array_config.py +82 -0
  21. simtools/applications/generate_corsika_histograms.py +52 -52
  22. simtools/applications/generate_default_metadata.py +5 -8
  23. simtools/applications/generate_regular_arrays.py +117 -0
  24. simtools/applications/generate_simtel_array_histograms.py +97 -56
  25. simtools/applications/plot_array_layout.py +345 -115
  26. simtools/applications/production_generate_simulation_config.py +158 -0
  27. simtools/applications/production_scale_events.py +168 -0
  28. simtools/applications/simulate_light_emission.py +478 -0
  29. simtools/applications/simulate_prod.py +97 -175
  30. simtools/applications/submit_data_from_external.py +9 -12
  31. simtools/applications/submit_model_parameter_from_external.py +122 -0
  32. simtools/applications/validate_camera_efficiency.py +35 -102
  33. simtools/applications/validate_camera_fov.py +20 -19
  34. simtools/applications/{compare_cumulative_psf.py → validate_cumulative_psf.py} +45 -44
  35. simtools/applications/validate_file_using_schema.py +113 -47
  36. simtools/applications/validate_optics.py +17 -22
  37. simtools/camera_efficiency.py +193 -202
  38. simtools/configuration/commandline_parser.py +384 -96
  39. simtools/configuration/configurator.py +55 -71
  40. simtools/constants.py +5 -5
  41. simtools/corsika/corsika_config.py +482 -342
  42. simtools/corsika/corsika_histograms.py +226 -204
  43. simtools/corsika/corsika_histograms_visualize.py +23 -24
  44. simtools/corsika/primary_particle.py +159 -0
  45. simtools/data_model/data_reader.py +25 -20
  46. simtools/data_model/format_checkers.py +52 -0
  47. simtools/data_model/metadata_collector.py +210 -184
  48. simtools/data_model/metadata_model.py +115 -37
  49. simtools/data_model/model_data_writer.py +335 -26
  50. simtools/data_model/validate_data.py +366 -154
  51. simtools/db/db_array_elements.py +130 -0
  52. simtools/db/db_from_repo_handler.py +106 -0
  53. simtools/db/db_handler.py +1246 -0
  54. simtools/io_operations/hdf5_handler.py +3 -1
  55. simtools/io_operations/io_handler.py +32 -57
  56. simtools/job_execution/job_manager.py +82 -69
  57. simtools/layout/array_layout.py +329 -533
  58. simtools/layout/geo_coordinates.py +8 -11
  59. simtools/layout/telescope_position.py +163 -86
  60. simtools/model/array_model.py +305 -256
  61. simtools/model/calibration_model.py +50 -0
  62. simtools/model/camera.py +233 -496
  63. simtools/model/mirrors.py +61 -44
  64. simtools/model/model_parameter.py +602 -0
  65. simtools/model/model_utils.py +7 -103
  66. simtools/model/site_model.py +161 -0
  67. simtools/model/telescope_model.py +127 -621
  68. simtools/production_configuration/calculate_statistical_errors_grid_point.py +454 -0
  69. simtools/production_configuration/event_scaler.py +146 -0
  70. simtools/production_configuration/generate_simulation_config.py +193 -0
  71. simtools/production_configuration/interpolation_handler.py +197 -0
  72. simtools/ray_tracing/__init__.py +0 -0
  73. simtools/ray_tracing/mirror_panel_psf.py +280 -0
  74. simtools/{psf_analysis.py → ray_tracing/psf_analysis.py} +133 -47
  75. simtools/ray_tracing/ray_tracing.py +646 -0
  76. simtools/runners/__init__.py +0 -0
  77. simtools/runners/corsika_runner.py +240 -0
  78. simtools/runners/corsika_simtel_runner.py +225 -0
  79. simtools/runners/runner_services.py +307 -0
  80. simtools/runners/simtel_runner.py +224 -0
  81. simtools/schemas/array_elements.yml +137 -0
  82. simtools/schemas/integration_tests_config.metaschema.yml +93 -0
  83. simtools/schemas/metadata.metaschema.yml +6 -0
  84. simtools/schemas/model_parameter.metaschema.yml +78 -0
  85. simtools/schemas/{data.metaschema.yml → model_parameter_and_data_schema.metaschema.yml} +27 -44
  86. simtools/schemas/model_parameters/adjust_gain.schema.yml +37 -0
  87. simtools/schemas/model_parameters/altitude.schema.yml +37 -0
  88. simtools/schemas/model_parameters/array_coordinates.schema.yml +33 -0
  89. simtools/schemas/model_parameters/array_coordinates_UTM.schema.yml +77 -0
  90. simtools/schemas/model_parameters/array_element_position_ground.schema.yml +39 -0
  91. simtools/schemas/model_parameters/array_element_position_utm.schema.yml +39 -0
  92. simtools/schemas/model_parameters/array_layouts.schema.yml +48 -0
  93. simtools/schemas/model_parameters/array_triggers.schema.yml +93 -0
  94. simtools/schemas/model_parameters/asum_clipping.schema.yml +38 -0
  95. simtools/schemas/model_parameters/asum_offset.schema.yml +35 -0
  96. simtools/schemas/model_parameters/asum_shaping.schema.yml +35 -0
  97. simtools/schemas/model_parameters/asum_threshold.schema.yml +38 -0
  98. simtools/schemas/model_parameters/atmospheric_profile.schema.yml +32 -0
  99. simtools/schemas/model_parameters/atmospheric_transmission.schema.yml +35 -0
  100. simtools/schemas/model_parameters/axes_offsets.schema.yml +53 -0
  101. simtools/schemas/model_parameters/camera_body_diameter.schema.yml +40 -0
  102. simtools/schemas/model_parameters/camera_body_shape.schema.yml +45 -0
  103. simtools/schemas/model_parameters/camera_config_file.schema.yml +40 -0
  104. simtools/schemas/model_parameters/camera_config_rotate.schema.yml +36 -0
  105. simtools/schemas/model_parameters/camera_degraded_efficiency.schema.yml +43 -0
  106. simtools/schemas/model_parameters/camera_degraded_map.schema.yml +42 -0
  107. simtools/schemas/model_parameters/camera_depth.schema.yml +42 -0
  108. simtools/schemas/model_parameters/camera_filter.schema.yml +45 -0
  109. simtools/schemas/model_parameters/camera_filter_incidence_angle.schema.yml +29 -0
  110. simtools/schemas/model_parameters/camera_pixels.schema.yml +36 -0
  111. simtools/schemas/model_parameters/camera_transmission.schema.yml +41 -0
  112. simtools/schemas/model_parameters/channels_per_chip.schema.yml +36 -0
  113. simtools/schemas/model_parameters/correct_nsb_spectrum_to_telescope_altitude.schema.yml +35 -0
  114. simtools/schemas/model_parameters/corsika_cherenkov_photon_bunch_size.schema.yml +27 -0
  115. simtools/schemas/model_parameters/corsika_cherenkov_photon_wavelength_range.schema.yml +38 -0
  116. simtools/schemas/model_parameters/corsika_first_interaction_height.schema.yml +28 -0
  117. simtools/schemas/model_parameters/corsika_iact_io_buffer.schema.yml +23 -0
  118. simtools/schemas/model_parameters/corsika_iact_max_bunches.schema.yml +27 -0
  119. simtools/schemas/model_parameters/corsika_iact_split_auto.schema.yml +28 -0
  120. simtools/schemas/model_parameters/corsika_longitudinal_shower_development.schema.yml +27 -0
  121. simtools/schemas/model_parameters/corsika_observation_level.schema.yml +38 -0
  122. simtools/schemas/model_parameters/corsika_particle_kinetic_energy_cutoff.schema.yml +52 -0
  123. simtools/schemas/model_parameters/corsika_starting_grammage.schema.yml +27 -0
  124. simtools/schemas/model_parameters/dark_events.schema.yml +32 -0
  125. simtools/schemas/model_parameters/default_trigger.schema.yml +35 -0
  126. simtools/schemas/model_parameters/design_model.schema.yml +31 -0
  127. simtools/schemas/model_parameters/disc_ac_coupled.schema.yml +32 -0
  128. simtools/schemas/model_parameters/disc_bins.schema.yml +39 -0
  129. simtools/schemas/model_parameters/disc_start.schema.yml +41 -0
  130. simtools/schemas/model_parameters/discriminator_amplitude.schema.yml +42 -0
  131. simtools/schemas/model_parameters/discriminator_fall_time.schema.yml +41 -0
  132. simtools/schemas/model_parameters/discriminator_gate_length.schema.yml +41 -0
  133. simtools/schemas/model_parameters/discriminator_hysteresis.schema.yml +39 -0
  134. simtools/schemas/model_parameters/discriminator_output_amplitude.schema.yml +40 -0
  135. simtools/schemas/model_parameters/discriminator_output_var_percent.schema.yml +41 -0
  136. simtools/schemas/model_parameters/discriminator_pulse_shape.schema.yml +33 -0
  137. simtools/schemas/model_parameters/discriminator_rise_time.schema.yml +42 -0
  138. simtools/schemas/model_parameters/discriminator_scale_threshold.schema.yml +37 -0
  139. simtools/schemas/model_parameters/discriminator_sigsum_over_threshold.schema.yml +44 -0
  140. simtools/schemas/model_parameters/discriminator_threshold.schema.yml +36 -0
  141. simtools/schemas/model_parameters/discriminator_time_over_threshold.schema.yml +45 -0
  142. simtools/schemas/model_parameters/discriminator_var_gate_length.schema.yml +40 -0
  143. simtools/schemas/model_parameters/discriminator_var_sigsum_over_threshold.schema.yml +41 -0
  144. simtools/schemas/model_parameters/discriminator_var_threshold.schema.yml +38 -0
  145. simtools/schemas/model_parameters/discriminator_var_time_over_threshold.schema.yml +38 -0
  146. simtools/schemas/model_parameters/dish_shape_length.schema.yml +41 -0
  147. simtools/schemas/model_parameters/dsum_clipping.schema.yml +38 -0
  148. simtools/schemas/model_parameters/dsum_ignore_below.schema.yml +38 -0
  149. simtools/schemas/model_parameters/dsum_offset.schema.yml +37 -0
  150. simtools/schemas/model_parameters/dsum_pedsub.schema.yml +33 -0
  151. simtools/schemas/model_parameters/dsum_pre_clipping.schema.yml +39 -0
  152. simtools/schemas/model_parameters/dsum_prescale.schema.yml +44 -0
  153. simtools/schemas/model_parameters/dsum_presum_max.schema.yml +38 -0
  154. simtools/schemas/model_parameters/dsum_presum_shift.schema.yml +45 -0
  155. simtools/schemas/model_parameters/dsum_shaping.schema.yml +44 -0
  156. simtools/schemas/model_parameters/dsum_shaping_renormalize.schema.yml +32 -0
  157. simtools/schemas/model_parameters/dsum_threshold.schema.yml +43 -0
  158. simtools/schemas/model_parameters/dsum_zero_clip.schema.yml +42 -0
  159. simtools/schemas/model_parameters/effective_focal_length.schema.yml +61 -0
  160. simtools/schemas/model_parameters/epsg_code.schema.yml +37 -0
  161. simtools/schemas/model_parameters/fadc_ac_coupled.schema.yml +35 -0
  162. simtools/schemas/model_parameters/fadc_amplitude.schema.yml +46 -0
  163. simtools/schemas/model_parameters/fadc_bins.schema.yml +40 -0
  164. simtools/schemas/model_parameters/fadc_compensate_pedestal.schema.yml +50 -0
  165. simtools/schemas/model_parameters/fadc_dev_pedestal.schema.yml +38 -0
  166. simtools/schemas/model_parameters/fadc_err_compensate_pedestal.schema.yml +42 -0
  167. simtools/schemas/model_parameters/fadc_err_pedestal.schema.yml +49 -0
  168. simtools/schemas/model_parameters/fadc_lg_amplitude.schema.yml +47 -0
  169. simtools/schemas/model_parameters/fadc_lg_compensate_pedestal.schema.yml +51 -0
  170. simtools/schemas/model_parameters/fadc_lg_dev_pedestal.schema.yml +37 -0
  171. simtools/schemas/model_parameters/fadc_lg_err_compensate_pedestal.schema.yml +43 -0
  172. simtools/schemas/model_parameters/fadc_lg_err_pedestal.schema.yml +49 -0
  173. simtools/schemas/model_parameters/fadc_lg_max_signal.schema.yml +43 -0
  174. simtools/schemas/model_parameters/fadc_lg_max_sum.schema.yml +39 -0
  175. simtools/schemas/model_parameters/fadc_lg_noise.schema.yml +42 -0
  176. simtools/schemas/model_parameters/fadc_lg_pedestal.schema.yml +40 -0
  177. simtools/schemas/model_parameters/fadc_lg_sensitivity.schema.yml +50 -0
  178. simtools/schemas/model_parameters/fadc_lg_sysvar_pedestal.schema.yml +42 -0
  179. simtools/schemas/model_parameters/fadc_lg_var_pedestal.schema.yml +41 -0
  180. simtools/schemas/model_parameters/fadc_lg_var_sensitivity.schema.yml +42 -0
  181. simtools/schemas/model_parameters/fadc_max_signal.schema.yml +43 -0
  182. simtools/schemas/model_parameters/fadc_max_sum.schema.yml +39 -0
  183. simtools/schemas/model_parameters/fadc_mhz.schema.yml +31 -0
  184. simtools/schemas/model_parameters/fadc_noise.schema.yml +41 -0
  185. simtools/schemas/model_parameters/fadc_pedestal.schema.yml +40 -0
  186. simtools/schemas/model_parameters/fadc_pulse_shape.schema.yml +39 -0
  187. simtools/schemas/model_parameters/fadc_sensitivity.schema.yml +50 -0
  188. simtools/schemas/model_parameters/fadc_sum_bins.schema.yml +43 -0
  189. simtools/schemas/model_parameters/fadc_sum_offset.schema.yml +43 -0
  190. simtools/schemas/model_parameters/fadc_sysvar_pedestal.schema.yml +42 -0
  191. simtools/schemas/model_parameters/fadc_var_pedestal.schema.yml +41 -0
  192. simtools/schemas/model_parameters/fadc_var_sensitivity.schema.yml +42 -0
  193. simtools/schemas/model_parameters/flatfielding.schema.yml +37 -0
  194. simtools/schemas/model_parameters/focal_length.schema.yml +45 -0
  195. simtools/schemas/model_parameters/focal_surface_parameters.schema.yml +158 -0
  196. simtools/schemas/model_parameters/focal_surface_ref_radius.schema.yml +29 -0
  197. simtools/schemas/model_parameters/focus_offset.schema.yml +66 -0
  198. simtools/schemas/model_parameters/gain_variation.schema.yml +43 -0
  199. simtools/schemas/model_parameters/geomag_horizontal.schema.yml +34 -0
  200. simtools/schemas/model_parameters/geomag_rotation.schema.yml +37 -0
  201. simtools/schemas/model_parameters/geomag_vertical.schema.yml +34 -0
  202. simtools/schemas/model_parameters/hg_lg_variation.schema.yml +36 -0
  203. simtools/schemas/model_parameters/iobuf_maximum.schema.yml +34 -0
  204. simtools/schemas/model_parameters/iobuf_output_maximum.schema.yml +34 -0
  205. simtools/schemas/model_parameters/laser_events.schema.yml +36 -0
  206. simtools/schemas/model_parameters/laser_external_trigger.schema.yml +35 -0
  207. simtools/schemas/model_parameters/laser_photons.schema.yml +32 -0
  208. simtools/schemas/model_parameters/laser_pulse_exptime.schema.yml +34 -0
  209. simtools/schemas/model_parameters/laser_pulse_offset.schema.yml +34 -0
  210. simtools/schemas/model_parameters/laser_pulse_sigtime.schema.yml +33 -0
  211. simtools/schemas/model_parameters/laser_pulse_twidth.schema.yml +33 -0
  212. simtools/schemas/model_parameters/laser_var_photons.schema.yml +33 -0
  213. simtools/schemas/model_parameters/laser_wavelength.schema.yml +33 -0
  214. simtools/schemas/model_parameters/led_events.schema.yml +34 -0
  215. simtools/schemas/model_parameters/led_photons.schema.yml +34 -0
  216. simtools/schemas/model_parameters/led_pulse_offset.schema.yml +32 -0
  217. simtools/schemas/model_parameters/led_pulse_sigtime.schema.yml +33 -0
  218. simtools/schemas/model_parameters/led_var_photons.schema.yml +34 -0
  219. simtools/schemas/model_parameters/lightguide_efficiency_vs_incidence_angle.schema.yml +41 -0
  220. simtools/schemas/model_parameters/lightguide_efficiency_vs_wavelength.schema.yml +43 -0
  221. simtools/schemas/model_parameters/min_photoelectrons.schema.yml +35 -0
  222. simtools/schemas/model_parameters/min_photons.schema.yml +32 -0
  223. simtools/schemas/model_parameters/mirror_align_random_distance.schema.yml +36 -0
  224. simtools/schemas/model_parameters/mirror_align_random_horizontal.schema.yml +64 -0
  225. simtools/schemas/model_parameters/mirror_align_random_vertical.schema.yml +64 -0
  226. simtools/schemas/model_parameters/mirror_class.schema.yml +41 -0
  227. simtools/schemas/model_parameters/mirror_degraded_reflection.schema.yml +51 -0
  228. simtools/schemas/model_parameters/mirror_focal_length.schema.yml +42 -0
  229. simtools/schemas/model_parameters/mirror_list.schema.yml +38 -0
  230. simtools/schemas/model_parameters/mirror_offset.schema.yml +41 -0
  231. simtools/schemas/model_parameters/mirror_panel_2f_measurements.schema.yml +39 -0
  232. simtools/schemas/model_parameters/mirror_reflection_random_angle.schema.yml +61 -0
  233. simtools/schemas/model_parameters/mirror_reflectivity.schema.yml +40 -0
  234. simtools/schemas/model_parameters/multiplicity_offset.schema.yml +46 -0
  235. simtools/schemas/model_parameters/nsb_autoscale_airmass.schema.yml +51 -0
  236. simtools/schemas/model_parameters/nsb_gain_drop_scale.schema.yml +37 -0
  237. simtools/schemas/model_parameters/nsb_offaxis.schema.yml +79 -0
  238. simtools/schemas/model_parameters/nsb_pixel_rate.schema.yml +47 -0
  239. simtools/schemas/model_parameters/nsb_reference_spectrum.schema.yml +34 -0
  240. simtools/schemas/model_parameters/nsb_reference_value.schema.yml +33 -0
  241. simtools/schemas/model_parameters/nsb_scaling_factor.schema.yml +35 -0
  242. simtools/schemas/model_parameters/nsb_skymap.schema.yml +39 -0
  243. simtools/schemas/model_parameters/nsb_spectrum.schema.yml +50 -0
  244. simtools/schemas/model_parameters/num_gains.schema.yml +34 -0
  245. simtools/schemas/model_parameters/only_triggered_telescopes.schema.yml +33 -0
  246. simtools/schemas/model_parameters/optics_properties.schema.yml +31 -0
  247. simtools/schemas/model_parameters/parabolic_dish.schema.yml +32 -0
  248. simtools/schemas/model_parameters/pedestal_events.schema.yml +32 -0
  249. simtools/schemas/model_parameters/photon_delay.schema.yml +38 -0
  250. simtools/schemas/model_parameters/photons_per_run.schema.yml +33 -0
  251. simtools/schemas/model_parameters/pixel_cells.schema.yml +35 -0
  252. simtools/schemas/model_parameters/pixels_parallel.schema.yml +54 -0
  253. simtools/schemas/model_parameters/pixeltrg_time_step.schema.yml +40 -0
  254. simtools/schemas/model_parameters/pm_average_gain.schema.yml +34 -0
  255. simtools/schemas/model_parameters/pm_collection_efficiency.schema.yml +40 -0
  256. simtools/schemas/model_parameters/pm_gain_index.schema.yml +36 -0
  257. simtools/schemas/model_parameters/pm_photoelectron_spectrum.schema.yml +41 -0
  258. simtools/schemas/model_parameters/pm_transit_time.schema.yml +63 -0
  259. simtools/schemas/model_parameters/pm_voltage_variation.schema.yml +39 -0
  260. simtools/schemas/model_parameters/primary_mirror_degraded_map.schema.yml +42 -0
  261. simtools/schemas/model_parameters/primary_mirror_diameter.schema.yml +33 -0
  262. simtools/schemas/model_parameters/primary_mirror_hole_diameter.schema.yml +33 -0
  263. simtools/schemas/model_parameters/primary_mirror_incidence_angle.schema.yml +29 -0
  264. simtools/schemas/model_parameters/primary_mirror_parameters.schema.yml +168 -0
  265. simtools/schemas/model_parameters/primary_mirror_ref_radius.schema.yml +36 -0
  266. simtools/schemas/model_parameters/primary_mirror_segmentation.schema.yml +34 -0
  267. simtools/schemas/model_parameters/qe_variation.schema.yml +43 -0
  268. simtools/schemas/model_parameters/quantum_efficiency.schema.yml +42 -0
  269. simtools/schemas/model_parameters/random_focal_length.schema.yml +45 -0
  270. simtools/schemas/model_parameters/random_generator.schema.yml +36 -0
  271. simtools/schemas/model_parameters/reference_point_altitude.schema.yml +35 -0
  272. simtools/schemas/model_parameters/reference_point_latitude.schema.yml +36 -0
  273. simtools/schemas/model_parameters/reference_point_longitude.schema.yml +36 -0
  274. simtools/schemas/model_parameters/reference_point_utm_east.schema.yml +34 -0
  275. simtools/schemas/model_parameters/reference_point_utm_north.schema.yml +34 -0
  276. simtools/schemas/model_parameters/sampled_output.schema.yml +31 -0
  277. simtools/schemas/model_parameters/save_pe_with_amplitude.schema.yml +34 -0
  278. simtools/schemas/model_parameters/secondary_mirror_baffle.schema.yml +79 -0
  279. simtools/schemas/model_parameters/secondary_mirror_degraded_map.schema.yml +42 -0
  280. simtools/schemas/model_parameters/secondary_mirror_degraded_reflection.schema.yml +41 -0
  281. simtools/schemas/model_parameters/secondary_mirror_diameter.schema.yml +33 -0
  282. simtools/schemas/model_parameters/secondary_mirror_hole_diameter.schema.yml +36 -0
  283. simtools/schemas/model_parameters/secondary_mirror_incidence_angle.schema.yml +29 -0
  284. simtools/schemas/model_parameters/secondary_mirror_parameters.schema.yml +168 -0
  285. simtools/schemas/model_parameters/secondary_mirror_ref_radius.schema.yml +36 -0
  286. simtools/schemas/model_parameters/secondary_mirror_reflectivity.schema.yml +35 -0
  287. simtools/schemas/model_parameters/secondary_mirror_segmentation.schema.yml +37 -0
  288. simtools/schemas/model_parameters/secondary_mirror_shadow_diameter.schema.yml +40 -0
  289. simtools/schemas/model_parameters/secondary_mirror_shadow_offset.schema.yml +40 -0
  290. simtools/schemas/model_parameters/store_photoelectrons.schema.yml +41 -0
  291. simtools/schemas/model_parameters/tailcut_scale.schema.yml +40 -0
  292. simtools/schemas/model_parameters/telescope_axis_height.schema.yml +31 -0
  293. simtools/schemas/model_parameters/telescope_random_angle.schema.yml +35 -0
  294. simtools/schemas/model_parameters/telescope_random_error.schema.yml +34 -0
  295. simtools/schemas/model_parameters/telescope_sphere_radius.schema.yml +37 -0
  296. simtools/schemas/model_parameters/telescope_transmission.schema.yml +113 -0
  297. simtools/schemas/model_parameters/teltrig_min_sigsum.schema.yml +41 -0
  298. simtools/schemas/model_parameters/teltrig_min_time.schema.yml +36 -0
  299. simtools/schemas/model_parameters/transit_time_calib_error.schema.yml +36 -0
  300. simtools/schemas/model_parameters/transit_time_compensate_error.schema.yml +37 -0
  301. simtools/schemas/model_parameters/transit_time_compensate_step.schema.yml +38 -0
  302. simtools/schemas/model_parameters/transit_time_error.schema.yml +45 -0
  303. simtools/schemas/model_parameters/transit_time_jitter.schema.yml +36 -0
  304. simtools/schemas/model_parameters/trigger_current_limit.schema.yml +32 -0
  305. simtools/schemas/model_parameters/trigger_delay_compensation.schema.yml +53 -0
  306. simtools/schemas/model_parameters/trigger_pixels.schema.yml +40 -0
  307. simtools/simtel/simtel_config_reader.py +353 -0
  308. simtools/simtel/simtel_config_writer.py +244 -63
  309. simtools/simtel/{simtel_events.py → simtel_io_events.py} +26 -25
  310. simtools/simtel/simtel_io_histogram.py +661 -0
  311. simtools/simtel/simtel_io_histograms.py +569 -0
  312. simtools/simtel/simulator_array.py +145 -0
  313. simtools/simtel/{simtel_runner_camera_efficiency.py → simulator_camera_efficiency.py} +76 -52
  314. simtools/simtel/simulator_light_emission.py +473 -0
  315. simtools/simtel/simulator_ray_tracing.py +262 -0
  316. simtools/simulator.py +220 -446
  317. simtools/testing/__init__.py +0 -0
  318. simtools/testing/assertions.py +151 -0
  319. simtools/testing/configuration.py +226 -0
  320. simtools/testing/helpers.py +42 -0
  321. simtools/testing/validate_output.py +240 -0
  322. simtools/utils/general.py +340 -437
  323. simtools/utils/geometry.py +12 -12
  324. simtools/utils/names.py +266 -568
  325. simtools/utils/value_conversion.py +176 -0
  326. simtools/version.py +2 -0
  327. simtools/visualization/legend_handlers.py +135 -152
  328. simtools/visualization/plot_camera.py +379 -0
  329. simtools/visualization/visualize.py +346 -167
  330. gammasimtools-0.6.0.dist-info/METADATA +0 -180
  331. gammasimtools-0.6.0.dist-info/RECORD +0 -91
  332. gammasimtools-0.6.0.dist-info/entry_points.txt +0 -23
  333. simtools/applications/db_development_tools/add_new_parameter_to_db.py +0 -81
  334. simtools/applications/db_development_tools/add_unit_to_parameter_in_db.py +0 -59
  335. simtools/applications/db_development_tools/mark_non_optics_parameters_non_applicable.py +0 -102
  336. simtools/applications/get_parameter.py +0 -92
  337. simtools/applications/make_regular_arrays.py +0 -160
  338. simtools/applications/produce_array_config.py +0 -136
  339. simtools/applications/production.py +0 -313
  340. simtools/applications/sim_showers_for_trigger_rates.py +0 -187
  341. simtools/applications/tune_psf.py +0 -334
  342. simtools/corsika/corsika_default_config.py +0 -282
  343. simtools/corsika/corsika_runner.py +0 -450
  344. simtools/corsika_simtel/corsika_simtel_runner.py +0 -197
  345. simtools/db_handler.py +0 -1481
  346. simtools/ray_tracing.py +0 -525
  347. simtools/simtel/simtel_histograms.py +0 -414
  348. simtools/simtel/simtel_runner.py +0 -244
  349. simtools/simtel/simtel_runner_array.py +0 -293
  350. simtools/simtel/simtel_runner_ray_tracing.py +0 -277
  351. {gammasimtools-0.6.0.dist-info → gammasimtools-0.8.1.dist-info}/LICENSE +0 -0
  352. {gammasimtools-0.6.0.dist-info → gammasimtools-0.8.1.dist-info}/top_level.txt +0 -0
  353. /simtools/{corsika_simtel → db}/__init__.py +0 -0
@@ -0,0 +1,64 @@
1
+ %YAML 1.2
2
+ ---
3
+ title: Schema for mirror_align_random_horizontal model parameter
4
+ version: 0.1.0
5
+ meta_schema: simpipe-schema
6
+ meta_schema_url: https://raw.githubusercontent.com/gammasim/simtools/main/simtools/schemas/model_parameter_and_data_schema.metaschema.yml
7
+ meta_schema_version: 0.1.0
8
+ name: mirror_align_random_horizontal
9
+ description: |-
10
+ Fluctuations of the mirror alignment angle with respect to nominal
11
+ alignment in the horizontal component (in azimuth or y direction in
12
+ dish coordinates). The three terms are added up as independent
13
+ (i.e., by squares; therefore he square of the horizontal mirror
14
+ alignment error is $\sigma^2 = \sigma_0^2 + \sigma_c^2 + \sigma_s^2$).
15
+ The values here are usually derived from fits to the measured point
16
+ spread functions, with the single mirror point-spread function adapted
17
+ beforehand. Note that, since this affects the angles of the mirrors,
18
+ the impact on the combined spot size is twice as large.
19
+ short_description: |-
20
+ Gaussian r.m.s. spread of random fluctuations of the mirror alignment
21
+ angle with respect to nominal alignment in the horizontal component.
22
+ data:
23
+ - type: double
24
+ description: Constant value $\sigma_0$.
25
+ unit: deg
26
+ default: 0.0035
27
+ - type: double
28
+ description: Zenith angle $\theta_0$ at which minimum is reached.
29
+ unit: deg
30
+ default: 28.0
31
+ - type: double
32
+ description: |-
33
+ Scaling term $k_c$ in
34
+ $\sigma_c = (\cos(\theta)-\cos(\theta_0)) / k_c$.
35
+ unit: dimensionless
36
+ default: 0.023
37
+ - type: double
38
+ description: |-
39
+ Scaling term $k_s$ in
40
+ $\sigma_s = (\sin(\theta)-\sin(\theta_0)) / k_s$.
41
+ unit: dimensionless
42
+ default: 0.
43
+ instrument:
44
+ class: Structure
45
+ type:
46
+ - LSTN
47
+ - LSTS
48
+ - MSTN
49
+ - MSTS
50
+ - SSTS
51
+ - SCTS
52
+ activity:
53
+ setting:
54
+ - SetMirrorPanelAlignment
55
+ - SetParameterFromExternal
56
+ validation:
57
+ - ValidateParameterByExpert
58
+ - ValidateOpticalPSF
59
+ - ValidateTelescopeSimulationModel
60
+ source:
61
+ - Calibration
62
+ - SimPipe Derived
63
+ simulation_software:
64
+ - name: sim_telarray
@@ -0,0 +1,64 @@
1
+ %YAML 1.2
2
+ ---
3
+ title: Schema for mirror_align_random_vertical model parameter
4
+ version: 0.1.0
5
+ meta_schema: simpipe-schema
6
+ meta_schema_url: https://raw.githubusercontent.com/gammasim/simtools/main/simtools/schemas/model_parameter_and_data_schema.metaschema.yml
7
+ meta_schema_version: 0.1.0
8
+ name: mirror_align_random_vertical
9
+ description: |-
10
+ Fluctuations of the mirror alignment angle with respect to nominal
11
+ alignment in the vertical component (in altitude or $x$ direction in
12
+ dish coordinates). The three terms are added up as independent
13
+ (i.e., by squares; therefore he square of the vertical mirror
14
+ alignment error is $\sigma^2 = \sigma_0^2 + \sigma_c^2 + \sigma_s^2$).
15
+ The values here are usually derived from fits to the measured point
16
+ spread functions, with the single mirror point-spread function adapted
17
+ beforehand. Note that, since this affects the angles of the mirrors,
18
+ the impact on the combined spot size is twice as large.
19
+ short_description: |-
20
+ Gaussian r.m.s. spread of random fluctuations of the mirror alignment
21
+ angle with respect to nominal alignment in the vertical component.
22
+ data:
23
+ - type: double
24
+ description: Constant value $\sigma_0$.
25
+ unit: deg
26
+ default: 0.0034
27
+ - type: double
28
+ description: Zenith angle $\theta_0$ at which minimum is reached.
29
+ unit: deg
30
+ default: 28.0
31
+ - type: double
32
+ description: |-
33
+ Scaling term $k_c$ in
34
+ $\sigma_c = (\cos(\theta)-\cos(\theta_0)) / k_c$.
35
+ unit: dimensionless
36
+ default: 0.01
37
+ - type: double
38
+ description: |-
39
+ Scaling term $k_s$ in
40
+ $\sigma_s = (\sin(\theta)-\sin(\theta_0)) / k_s$.
41
+ unit: dimensionless
42
+ default: 0.0
43
+ instrument:
44
+ class: Structure
45
+ type:
46
+ - LSTN
47
+ - LSTS
48
+ - MSTN
49
+ - MSTS
50
+ - SSTS
51
+ - SCTS
52
+ activity:
53
+ setting:
54
+ - SetMirrorPanelAlignment
55
+ - SetParameterFromExternal
56
+ validation:
57
+ - ValidateParameterByExpert
58
+ - ValidateOpticalPSF
59
+ - ValidateTelescopeSimulationModel
60
+ source:
61
+ - Calibration
62
+ - SimPipe Derived
63
+ simulation_software:
64
+ - name: sim_telarray
@@ -0,0 +1,41 @@
1
+ %YAML 1.2
2
+ ---
3
+ title: Schema for mirror_class model parameter
4
+ version: 0.1.0
5
+ meta_schema: simpipe-schema
6
+ meta_schema_url: https://raw.githubusercontent.com/gammasim/simtools/main/simtools/schemas/model_parameter_and_data_schema.metaschema.yml
7
+ meta_schema_version: 0.1.0
8
+ name: mirror_class
9
+ description: |-
10
+ Parameter to control the type of mirror used.
11
+ Includes segmented primary mirror optics with spherical mirror tiles (0),
12
+ parabolic primary made of a single piece (1), and a a secondary mirror
13
+ optics (2), with primary and secondary each made of a single piece.
14
+ Class 3 represents a simple Fresnel lens implementation.
15
+ short_description: Parameter to control the type of mirror used (DC, parabolic or
16
+ SC).
17
+ data:
18
+ - type: uint
19
+ unit: dimensionless
20
+ default: 0
21
+ allowed_range:
22
+ min: 0
23
+ max: 3
24
+ instrument:
25
+ class: Structure
26
+ type:
27
+ - LSTN
28
+ - LSTS
29
+ - MSTN
30
+ - MSTS
31
+ - SSTS
32
+ - SCTS
33
+ activity:
34
+ setting:
35
+ - SetParameterFromExternal
36
+ validation:
37
+ - ValidateParameterByExpert
38
+ source:
39
+ - Initial instrument setup
40
+ simulation_software:
41
+ - name: sim_telarray
@@ -0,0 +1,51 @@
1
+ %YAML 1.2
2
+ ---
3
+ title: Schema for mirror_degraded_reflection model parameter
4
+ version: 0.1.0
5
+ meta_schema: simpipe-schema
6
+ meta_schema_url: https://raw.githubusercontent.com/gammasim/simtools/main/simtools/schemas/model_parameter_and_data_schema.metaschema.yml
7
+ meta_schema_version: 0.1.0
8
+ name: mirror_degraded_reflection
9
+ description: |-
10
+ Mirror degradation factor (wavelength independent).
11
+ Applied to the mirror reflectivity of the primary mirror
12
+ (note also the primary, secondary, and camera efficiency
13
+ degradation factors).
14
+ What matters typically is the overall product of the efficiencies.
15
+ Breaking it down into mirror(s) and/or camera degradation
16
+ only matters where BYPASS_OPTICS becomes involved. Then this parameter
17
+ is actually interpreted as being for reflection on the primary mirror
18
+ (would not be relevant for a flat-fielding light source directly illuminating
19
+ the camera or illuminating it via reflection on the secondary mirror).
20
+ The nightsky background in each pixel is also scaled by the same factor
21
+ (even if the actual simulation bypasses optical ray-tracing).
22
+ For wavelength-dependent degradation, the tables for reflectivity,
23
+ window transmission, or light-cone efficiency need to be adapted.
24
+ short_description: |-
25
+ Mirror degradation factor (wavelength independent).
26
+ data:
27
+ - type: double
28
+ unit: dimensionless
29
+ default: 1.
30
+ allowed_range:
31
+ min: 0.
32
+ max: 1.
33
+ instrument:
34
+ class: Structure
35
+ type:
36
+ - LSTN
37
+ - LSTS
38
+ - MSTN
39
+ - MSTS
40
+ - SSTS
41
+ - SCTS
42
+ activity:
43
+ setting:
44
+ - SetParameterFromExternal
45
+ validation:
46
+ - ValidateParameterByExpert
47
+ - ValidateTelescopeStructure
48
+ source:
49
+ - Initial instrument setup
50
+ simulation_software:
51
+ - name: sim_telarray
@@ -0,0 +1,42 @@
1
+ %YAML 1.2
2
+ ---
3
+ title: Schema for mirror_focal_length model parameter
4
+ version: 0.1.0
5
+ meta_schema: simpipe-schema
6
+ meta_schema_url: https://raw.githubusercontent.com/gammasim/simtools/main/simtools/schemas/model_parameter_and_data_schema.metaschema.yml
7
+ meta_schema_version: 0.1.0
8
+ name: mirror_focal_length
9
+ description: |-
10
+ Standard focal length of mirror tiles. This parameter is only used if
11
+ the focal lengths of the mirror tiles in the par:mirror_list
12
+ are zero. For a parabolic dish any non-zero value will then force
13
+ all mirror tiles to have the same focal lengths (which should then match
14
+ the average distance of the parabolic dish from the focus, not exactly
15
+ the overall focal length).
16
+ short_description: Standard focal length of mirror tiles.
17
+ data:
18
+ - type: double
19
+ unit: cm
20
+ default: 0.0
21
+ allowed_range:
22
+ min: 0.
23
+ max: 10000.0
24
+ condition: mirror_class==1
25
+ instrument:
26
+ class: Structure
27
+ type:
28
+ - LSTN
29
+ - LSTS
30
+ - MSTN
31
+ - MSTS
32
+ activity:
33
+ setting:
34
+ - SetParameterFromExternal
35
+ validation:
36
+ - ValidateParameterByExpert
37
+ - ValidateMirrorPanelParameters
38
+ - ValidateOpticalPSF
39
+ source:
40
+ - Initial instrument setup
41
+ simulation_software:
42
+ - name: sim_telarray
@@ -0,0 +1,38 @@
1
+ %YAML 1.2
2
+ ---
3
+ title: Schema for mirror_list model parameter
4
+ version: 0.1.0
5
+ meta_schema: simpipe-schema
6
+ meta_schema_url: https://raw.githubusercontent.com/gammasim/simtools/main/simtools/schemas/model_parameter_and_data_schema.metaschema.yml
7
+ meta_schema_version: 0.1.0
8
+ developer_note: To be replaced by a data table
9
+ name: mirror_list
10
+ description: List of mirror positions, diameters, focal lengths, and shape codes.
11
+ data:
12
+ - type: file
13
+ unit: dimensionless
14
+ default: None
15
+ instrument:
16
+ class: Structure
17
+ type:
18
+ - LSTN
19
+ - LSTS
20
+ - MSTN
21
+ - MSTS
22
+ - SSTS
23
+ - SCTS
24
+ activity:
25
+ setting:
26
+ - SetParameterFromExternal
27
+ validation:
28
+ - ValidateParameterByExpert
29
+ - ValidateMirrorPanelParameters
30
+ - ValidateOpticalPSF
31
+ - ValidateTelescopeStructure
32
+ - ValidateTelescopeEfficiency
33
+ - ValidateTelescopeShadowing
34
+ - ValidateTelescopeSimulationModel
35
+ source:
36
+ - Initial instrument setup
37
+ simulation_software:
38
+ - name: sim_telarray
@@ -0,0 +1,41 @@
1
+ %YAML 1.2
2
+ ---
3
+ title: Schema for mirror_offset model parameter
4
+ version: 0.1.0
5
+ meta_schema: simpipe-schema
6
+ meta_schema_url: https://raw.githubusercontent.com/gammasim/simtools/main/simtools/schemas/model_parameter_and_data_schema.metaschema.yml
7
+ meta_schema_version: 0.1.0
8
+ name: mirror_offset
9
+ description: |-
10
+ Offset of mirror back plane from fixed point of telescope mount
11
+ (if axes intersect) or from the altitude rotation axis, along
12
+ the direction of the optical axis. Positive if fixed point
13
+ (or altitude axis) is between the mirror back plane and the focus or,
14
+ in other words, the center of the primary mirror is behind/below
15
+ the altitude rotation axis.
16
+ short_description: |-
17
+ Offset of mirror back plane from fixed point of telescope mount or
18
+ from the altitude rotation axis, along the direction of the optical axis.
19
+ data:
20
+ - type: double
21
+ unit: cm
22
+ default: 130.0
23
+ instrument:
24
+ class: Structure
25
+ type:
26
+ - LSTN
27
+ - LSTS
28
+ - MSTN
29
+ - MSTS
30
+ - SSTS
31
+ - SCTS
32
+ activity:
33
+ setting:
34
+ - SetParameterFromExternal
35
+ validation:
36
+ - ValidateParameterByExpert
37
+ - ValidateTelescopeStructure
38
+ source:
39
+ - Initial instrument setup
40
+ simulation_software:
41
+ - name: sim_telarray
@@ -0,0 +1,39 @@
1
+ %YAML 1.2
2
+ ---
3
+ title: Schema for mirror panel 2F measurements
4
+ version: 0.1.0
5
+ meta_schema: simpipe-schema
6
+ meta_schema_url: https://raw.githubusercontent.com/gammasim/simtools/main/simtools/schemas/model_parameter_and_data_schema.metaschema.yml
7
+ meta_schema_version: 0.1.0
8
+ name: mirror_panel_2f_measurement
9
+ description: |-
10
+ Mirror panel 2F measurements determining
11
+ panel radius and panel PSF.
12
+ data:
13
+ - type: data_table
14
+ table_columns:
15
+ - name: mirror_panel_id
16
+ description: |-
17
+ Mirror panel ID.
18
+ required: true
19
+ unit: dimensionless
20
+ type: string
21
+ - name: mirror_panel_radius
22
+ description: |-
23
+ Mirror panel radius.
24
+ required: true
25
+ unit: cm
26
+ type: double
27
+ - name: psf
28
+ description: |-
29
+ Spot size of mirror panel PSF at nominal distance.
30
+ required: true
31
+ unit: cm
32
+ type: double
33
+ - name: psf_opt
34
+ description: |-
35
+ Spot size of mirror panel PSF
36
+ (best value, not at nominal distance).
37
+ required: false
38
+ unit: cm
39
+ type: double
@@ -0,0 +1,61 @@
1
+ %YAML 1.2
2
+ ---
3
+ title: Schema for mirror_reflection_random_angle model parameter
4
+ version: 0.1.0
5
+ meta_schema: simpipe-schema
6
+ meta_schema_url: https://raw.githubusercontent.com/gammasim/simtools/main/simtools/schemas/model_parameter_and_data_schema.metaschema.yml
7
+ meta_schema_version: 0.1.0
8
+ name: mirror_reflection_random_angle
9
+ description: |-
10
+ Gaussian random fluctuations of reflection angles, due to
11
+ small-scale surface deviations, with one or two components.
12
+ For two components, the random reflection angle is applied
13
+ separately to each projection, in the coordinate system of the mirror
14
+ surface, with the same r.m.s. in both projections.
15
+ short_description: |-
16
+ Gaussian r.m.s. spread of random fluctuations of microscopic reflection
17
+ angles due to small-scale surface deviations.
18
+ data:
19
+ - type: double
20
+ description: Projected Gaussian r.m.s. of the first component.
21
+ unit: deg
22
+ default: 0.0066
23
+ allowed_range:
24
+ min: 0.0
25
+ max: 2.0
26
+ - type: double
27
+ description: Fractional amplitude of second component.
28
+ unit: dimensionless
29
+ default: 0.0
30
+ allowed_range:
31
+ min: 0.0
32
+ max: 1.0
33
+ - type: double
34
+ description: Projected Gaussian r.m.s. of the second component.
35
+ unit: deg
36
+ default: 0.0
37
+ allowed_range:
38
+ min: 0.0
39
+ max: 2.0
40
+ instrument:
41
+ class: Structure
42
+ type:
43
+ - LSTN
44
+ - LSTS
45
+ - MSTN
46
+ - MSTS
47
+ - SSTS
48
+ - SCTS
49
+ activity:
50
+ setting:
51
+ - SetMirrorPanelRandomReflection
52
+ - SetParameterFromExternal
53
+ validation:
54
+ - ValidateMirrorPanelParameters
55
+ - ValidateOpticalPSF
56
+ - ValidateTelescopeSimulationModel
57
+ source:
58
+ - Calibration
59
+ - SimPipe Derived
60
+ simulation_software:
61
+ - name: sim_telarray
@@ -0,0 +1,40 @@
1
+ %YAML 1.2
2
+ ---
3
+ title: Schema for mirror_reflectivity model parameter
4
+ version: 0.1.0
5
+ meta_schema: simpipe-schema
6
+ meta_schema_url: https://raw.githubusercontent.com/gammasim/simtools/main/simtools/schemas/model_parameter_and_data_schema.metaschema.yml
7
+ meta_schema_version: 0.1.0
8
+ developer_note: To be replaced by a data table
9
+ name: mirror_reflectivity
10
+ description: |-
11
+ Mirror reflectivity measured directly on the facet as function of
12
+ wavelength. For dual mirror telescopes without explicit reflectivity
13
+ table given for the secondary, this reflectivity given here is
14
+ applied twice.
15
+ data:
16
+ - type: file
17
+ unit: dimensionless
18
+ default: 'no_such_reflectivity.dat'
19
+ instrument:
20
+ class: Structure
21
+ type:
22
+ - LSTN
23
+ - LSTS
24
+ - MSTN
25
+ - MSTS
26
+ - SSTS
27
+ - SCTS
28
+ activity:
29
+ setting:
30
+ - SetParameterFromExternal
31
+ - SetTelescopeEfficiency
32
+ validation:
33
+ - ValidateParameterByExpert
34
+ - ValidateTelescopeEfficiency
35
+ - ValidateTriggerPerformance
36
+ - ValidateTelescopeSimulationModel
37
+ source:
38
+ - Calibration
39
+ simulation_software:
40
+ - name: sim_telarray
@@ -0,0 +1,46 @@
1
+ %YAML 1.2
2
+ ---
3
+ title: Schema for multiplicity_offset model parameter
4
+ version: 0.1.0
5
+ meta_schema: simpipe-schema
6
+ meta_schema_url: https://raw.githubusercontent.com/gammasim/simtools/main/simtools/schemas/model_parameter_and_data_schema.metaschema.yml
7
+ meta_schema_version: 0.1.0
8
+ name: multiplicity_offset
9
+ description: |-
10
+ This number tells where the actual threshold of the telescope trigger
11
+ is adjusted relative to the nominal number of required pixels.
12
+ A value of -0.5 means that with par:trigger-pixels of 4, the sum of
13
+ pixel discriminator/comparator outputs must exceed 3.5 times the
14
+ average output amplitude for the given minimum time and by the
15
+ given minimum signal integral in order to accept any `sector'
16
+ trigger (and therefore a telescope trigger) with the majority
17
+ trigger logic.
18
+ short_description: |-
19
+ Actual threshold of the telescope trigger, adjusted relative to the
20
+ number of required pixels.
21
+ data:
22
+ - type: double
23
+ unit: dimensionless
24
+ default: -0.5
25
+ allowed_range:
26
+ min: -0.5
27
+ max: 0.5
28
+ instrument:
29
+ class: Camera
30
+ type:
31
+ - LSTN
32
+ - LSTS
33
+ - MSTN
34
+ - MSTS
35
+ - SSTS
36
+ - SCTS
37
+ activity:
38
+ setting:
39
+ - SetParameterFromExternal
40
+ validation:
41
+ - ValidateParameterByExpert
42
+ - ValidateTriggerPerformance
43
+ source:
44
+ - Initial instrument setup
45
+ simulation_software:
46
+ - name: sim_telarray
@@ -0,0 +1,51 @@
1
+ %YAML 1.2
2
+ ---
3
+ title: Schema for nsb_autoscale_airmass model parameter
4
+ version: 0.1.0
5
+ meta_schema: simpipe-schema
6
+ meta_schema_url: https://raw.githubusercontent.com/gammasim/simtools/main/simtools/schemas/model_parameter_and_data_schema.metaschema.yml
7
+ meta_schema_version: 0.1.0
8
+ name: nsb_autoscale_airmass
9
+ description: |-
10
+ NSB scaling as function of airmass (zenith angle).
11
+ This only takes effect if nsb_scaling_factor is exactly 1.0
12
+ short_description: NSB scaling as function of airmass (zenith angle).
13
+ data:
14
+ - type: double
15
+ description: |-
16
+ Zenith-level fraction of NSB resulting from airglow.
17
+ Value should be on the order of 0.7.
18
+ unit: dimensionless
19
+ default: 0.0
20
+ allowed_range:
21
+ min: 0.0
22
+ max: 1.0
23
+ - type: double
24
+ description: |-
25
+ Effective extinction coefficient applicable for NSB light
26
+ (due to scattering it should be smaller than extinction
27
+ coefficient for line-of-sight propagation).
28
+ Value should be on the order of 0.15.
29
+ unit: dimensionless
30
+ default: 0.15
31
+ allowed_range:
32
+ min: 0.0
33
+ max: 1.0
34
+ instrument:
35
+ class: Camera
36
+ type:
37
+ - LSTN
38
+ - LSTS
39
+ - MSTN
40
+ - MSTS
41
+ - SSTS
42
+ - SCTS
43
+ activity:
44
+ setting:
45
+ - SetParameterFromExternal
46
+ validation:
47
+ - ValidateParameterByExpert
48
+ source:
49
+ - Calibration
50
+ simulation_software:
51
+ - name: sim_telarray
@@ -0,0 +1,37 @@
1
+ %YAML 1.2
2
+ ---
3
+ title: Schema for nsb_gain_drop_scale model parameter
4
+ version: 0.1.0
5
+ meta_schema: simpipe-schema
6
+ meta_schema_url: https://raw.githubusercontent.com/gammasim/simtools/main/simtools/schemas/model_parameter_and_data_schema.metaschema.yml
7
+ meta_schema_version: 0.1.0
8
+ name: nsb_gain_drop_scale
9
+ description: |-
10
+ This parameter, if non-zero, indicates the pixel p.e. rate at which the
11
+ gain drops to half the nominal value due to bias resistance and
12
+ cell capacitance (applicable as such for SiPM cameras). \\
13
+ \textbf{Example:} 1./(2.4 [kOhm] $\times$ 85 [fF])/1e9 [ns] = 4.90 [GHz].
14
+ short_description: |-
15
+ Pixel p.e. rate at which the gain drops to half the nominal value due to
16
+ bias resistance and cell capacitance (SiPM cameras).
17
+ data:
18
+ - type: double
19
+ unit: GHz
20
+ default: 0.0
21
+ allowed_range:
22
+ min: 0.0
23
+ instrument:
24
+ class: Camera
25
+ type:
26
+ - SSTS
27
+ - SCTS
28
+ activity:
29
+ setting:
30
+ - SetParameterFromExternal
31
+ validation:
32
+ - ValidateParameterByExpert
33
+ - ValidateCameraGainsAndEfficiency
34
+ source:
35
+ - Calibration
36
+ simulation_software:
37
+ - name: sim_telarray