gammasimtools 0.6.1__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.
- gammasimtools-0.8.1.dist-info/METADATA +172 -0
- gammasimtools-0.8.1.dist-info/RECORD +346 -0
- {gammasimtools-0.6.1.dist-info → gammasimtools-0.8.1.dist-info}/WHEEL +1 -1
- gammasimtools-0.8.1.dist-info/entry_points.txt +31 -0
- simtools/_version.py +2 -2
- simtools/applications/calculate_trigger_rate.py +210 -0
- simtools/applications/convert_all_model_parameters_from_simtel.py +372 -0
- simtools/applications/{print_array_elements.py → convert_geo_coordinates_of_array_elements.py} +58 -63
- simtools/applications/convert_model_parameter_from_simtel.py +119 -0
- simtools/applications/{add_file_to_db.py → db_add_file_to_db.py} +70 -60
- simtools/applications/db_add_model_parameters_from_repository_to_db.py +184 -0
- simtools/applications/db_add_value_from_json_to_db.py +105 -0
- simtools/applications/db_development_tools/write_array_elements_positions_to_repository.py +180 -0
- simtools/applications/db_get_array_layouts_from_db.py +162 -0
- simtools/applications/{get_file_from_db.py → db_get_file_from_db.py} +30 -34
- simtools/applications/db_get_parameter_from_db.py +131 -0
- simtools/applications/db_inspect_databases.py +52 -0
- simtools/applications/derive_mirror_rnda.py +39 -255
- simtools/applications/derive_psf_parameters.py +441 -0
- simtools/applications/generate_array_config.py +82 -0
- simtools/applications/generate_corsika_histograms.py +52 -52
- simtools/applications/generate_default_metadata.py +5 -8
- simtools/applications/generate_regular_arrays.py +117 -0
- simtools/applications/generate_simtel_array_histograms.py +97 -56
- simtools/applications/plot_array_layout.py +345 -115
- simtools/applications/production_generate_simulation_config.py +158 -0
- simtools/applications/production_scale_events.py +168 -0
- simtools/applications/simulate_light_emission.py +478 -0
- simtools/applications/simulate_prod.py +97 -175
- simtools/applications/submit_data_from_external.py +9 -12
- simtools/applications/submit_model_parameter_from_external.py +122 -0
- simtools/applications/validate_camera_efficiency.py +35 -102
- simtools/applications/validate_camera_fov.py +20 -19
- simtools/applications/{compare_cumulative_psf.py → validate_cumulative_psf.py} +45 -44
- simtools/applications/validate_file_using_schema.py +113 -47
- simtools/applications/validate_optics.py +17 -22
- simtools/camera_efficiency.py +193 -202
- simtools/configuration/commandline_parser.py +384 -96
- simtools/configuration/configurator.py +55 -71
- simtools/constants.py +5 -5
- simtools/corsika/corsika_config.py +482 -342
- simtools/corsika/corsika_histograms.py +226 -204
- simtools/corsika/corsika_histograms_visualize.py +23 -24
- simtools/corsika/primary_particle.py +159 -0
- simtools/data_model/data_reader.py +25 -20
- simtools/data_model/format_checkers.py +52 -0
- simtools/data_model/metadata_collector.py +210 -184
- simtools/data_model/metadata_model.py +115 -37
- simtools/data_model/model_data_writer.py +335 -26
- simtools/data_model/validate_data.py +366 -154
- simtools/db/db_array_elements.py +130 -0
- simtools/db/db_from_repo_handler.py +106 -0
- simtools/db/db_handler.py +1246 -0
- simtools/io_operations/hdf5_handler.py +3 -1
- simtools/io_operations/io_handler.py +32 -57
- simtools/job_execution/job_manager.py +82 -69
- simtools/layout/array_layout.py +325 -537
- simtools/layout/geo_coordinates.py +8 -11
- simtools/layout/telescope_position.py +163 -86
- simtools/model/array_model.py +305 -256
- simtools/model/calibration_model.py +50 -0
- simtools/model/camera.py +233 -493
- simtools/model/mirrors.py +61 -44
- simtools/model/model_parameter.py +602 -0
- simtools/model/model_utils.py +7 -35
- simtools/model/site_model.py +161 -0
- simtools/model/telescope_model.py +127 -621
- simtools/production_configuration/calculate_statistical_errors_grid_point.py +454 -0
- simtools/production_configuration/event_scaler.py +146 -0
- simtools/production_configuration/generate_simulation_config.py +193 -0
- simtools/production_configuration/interpolation_handler.py +197 -0
- simtools/ray_tracing/__init__.py +0 -0
- simtools/ray_tracing/mirror_panel_psf.py +280 -0
- simtools/{psf_analysis.py → ray_tracing/psf_analysis.py} +133 -47
- simtools/ray_tracing/ray_tracing.py +646 -0
- simtools/runners/__init__.py +0 -0
- simtools/runners/corsika_runner.py +240 -0
- simtools/runners/corsika_simtel_runner.py +225 -0
- simtools/runners/runner_services.py +307 -0
- simtools/runners/simtel_runner.py +224 -0
- simtools/schemas/array_elements.yml +137 -0
- simtools/schemas/integration_tests_config.metaschema.yml +93 -0
- simtools/schemas/metadata.metaschema.yml +6 -0
- simtools/schemas/model_parameter.metaschema.yml +78 -0
- simtools/schemas/{data.metaschema.yml → model_parameter_and_data_schema.metaschema.yml} +27 -44
- simtools/schemas/model_parameters/adjust_gain.schema.yml +37 -0
- simtools/schemas/model_parameters/altitude.schema.yml +37 -0
- simtools/schemas/model_parameters/array_coordinates.schema.yml +33 -0
- simtools/schemas/model_parameters/array_coordinates_UTM.schema.yml +77 -0
- simtools/schemas/model_parameters/array_element_position_ground.schema.yml +39 -0
- simtools/schemas/model_parameters/array_element_position_utm.schema.yml +39 -0
- simtools/schemas/model_parameters/array_layouts.schema.yml +48 -0
- simtools/schemas/model_parameters/array_triggers.schema.yml +93 -0
- simtools/schemas/model_parameters/asum_clipping.schema.yml +38 -0
- simtools/schemas/model_parameters/asum_offset.schema.yml +35 -0
- simtools/schemas/model_parameters/asum_shaping.schema.yml +35 -0
- simtools/schemas/model_parameters/asum_threshold.schema.yml +38 -0
- simtools/schemas/model_parameters/atmospheric_profile.schema.yml +32 -0
- simtools/schemas/model_parameters/atmospheric_transmission.schema.yml +35 -0
- simtools/schemas/model_parameters/axes_offsets.schema.yml +53 -0
- simtools/schemas/model_parameters/camera_body_diameter.schema.yml +40 -0
- simtools/schemas/model_parameters/camera_body_shape.schema.yml +45 -0
- simtools/schemas/model_parameters/camera_config_file.schema.yml +40 -0
- simtools/schemas/model_parameters/camera_config_rotate.schema.yml +36 -0
- simtools/schemas/model_parameters/camera_degraded_efficiency.schema.yml +43 -0
- simtools/schemas/model_parameters/camera_degraded_map.schema.yml +42 -0
- simtools/schemas/model_parameters/camera_depth.schema.yml +42 -0
- simtools/schemas/model_parameters/camera_filter.schema.yml +45 -0
- simtools/schemas/model_parameters/camera_filter_incidence_angle.schema.yml +29 -0
- simtools/schemas/model_parameters/camera_pixels.schema.yml +36 -0
- simtools/schemas/model_parameters/camera_transmission.schema.yml +41 -0
- simtools/schemas/model_parameters/channels_per_chip.schema.yml +36 -0
- simtools/schemas/model_parameters/correct_nsb_spectrum_to_telescope_altitude.schema.yml +35 -0
- simtools/schemas/model_parameters/corsika_cherenkov_photon_bunch_size.schema.yml +27 -0
- simtools/schemas/model_parameters/corsika_cherenkov_photon_wavelength_range.schema.yml +38 -0
- simtools/schemas/model_parameters/corsika_first_interaction_height.schema.yml +28 -0
- simtools/schemas/model_parameters/corsika_iact_io_buffer.schema.yml +23 -0
- simtools/schemas/model_parameters/corsika_iact_max_bunches.schema.yml +27 -0
- simtools/schemas/model_parameters/corsika_iact_split_auto.schema.yml +28 -0
- simtools/schemas/model_parameters/corsika_longitudinal_shower_development.schema.yml +27 -0
- simtools/schemas/model_parameters/corsika_observation_level.schema.yml +38 -0
- simtools/schemas/model_parameters/corsika_particle_kinetic_energy_cutoff.schema.yml +52 -0
- simtools/schemas/model_parameters/corsika_starting_grammage.schema.yml +27 -0
- simtools/schemas/model_parameters/dark_events.schema.yml +32 -0
- simtools/schemas/model_parameters/default_trigger.schema.yml +35 -0
- simtools/schemas/model_parameters/design_model.schema.yml +31 -0
- simtools/schemas/model_parameters/disc_ac_coupled.schema.yml +32 -0
- simtools/schemas/model_parameters/disc_bins.schema.yml +39 -0
- simtools/schemas/model_parameters/disc_start.schema.yml +41 -0
- simtools/schemas/model_parameters/discriminator_amplitude.schema.yml +42 -0
- simtools/schemas/model_parameters/discriminator_fall_time.schema.yml +41 -0
- simtools/schemas/model_parameters/discriminator_gate_length.schema.yml +41 -0
- simtools/schemas/model_parameters/discriminator_hysteresis.schema.yml +39 -0
- simtools/schemas/model_parameters/discriminator_output_amplitude.schema.yml +40 -0
- simtools/schemas/model_parameters/discriminator_output_var_percent.schema.yml +41 -0
- simtools/schemas/model_parameters/discriminator_pulse_shape.schema.yml +33 -0
- simtools/schemas/model_parameters/discriminator_rise_time.schema.yml +42 -0
- simtools/schemas/model_parameters/discriminator_scale_threshold.schema.yml +37 -0
- simtools/schemas/model_parameters/discriminator_sigsum_over_threshold.schema.yml +44 -0
- simtools/schemas/model_parameters/discriminator_threshold.schema.yml +36 -0
- simtools/schemas/model_parameters/discriminator_time_over_threshold.schema.yml +45 -0
- simtools/schemas/model_parameters/discriminator_var_gate_length.schema.yml +40 -0
- simtools/schemas/model_parameters/discriminator_var_sigsum_over_threshold.schema.yml +41 -0
- simtools/schemas/model_parameters/discriminator_var_threshold.schema.yml +38 -0
- simtools/schemas/model_parameters/discriminator_var_time_over_threshold.schema.yml +38 -0
- simtools/schemas/model_parameters/dish_shape_length.schema.yml +41 -0
- simtools/schemas/model_parameters/dsum_clipping.schema.yml +38 -0
- simtools/schemas/model_parameters/dsum_ignore_below.schema.yml +38 -0
- simtools/schemas/model_parameters/dsum_offset.schema.yml +37 -0
- simtools/schemas/model_parameters/dsum_pedsub.schema.yml +33 -0
- simtools/schemas/model_parameters/dsum_pre_clipping.schema.yml +39 -0
- simtools/schemas/model_parameters/dsum_prescale.schema.yml +44 -0
- simtools/schemas/model_parameters/dsum_presum_max.schema.yml +38 -0
- simtools/schemas/model_parameters/dsum_presum_shift.schema.yml +45 -0
- simtools/schemas/model_parameters/dsum_shaping.schema.yml +44 -0
- simtools/schemas/model_parameters/dsum_shaping_renormalize.schema.yml +32 -0
- simtools/schemas/model_parameters/dsum_threshold.schema.yml +43 -0
- simtools/schemas/model_parameters/dsum_zero_clip.schema.yml +42 -0
- simtools/schemas/model_parameters/effective_focal_length.schema.yml +61 -0
- simtools/schemas/model_parameters/epsg_code.schema.yml +37 -0
- simtools/schemas/model_parameters/fadc_ac_coupled.schema.yml +35 -0
- simtools/schemas/model_parameters/fadc_amplitude.schema.yml +46 -0
- simtools/schemas/model_parameters/fadc_bins.schema.yml +40 -0
- simtools/schemas/model_parameters/fadc_compensate_pedestal.schema.yml +50 -0
- simtools/schemas/model_parameters/fadc_dev_pedestal.schema.yml +38 -0
- simtools/schemas/model_parameters/fadc_err_compensate_pedestal.schema.yml +42 -0
- simtools/schemas/model_parameters/fadc_err_pedestal.schema.yml +49 -0
- simtools/schemas/model_parameters/fadc_lg_amplitude.schema.yml +47 -0
- simtools/schemas/model_parameters/fadc_lg_compensate_pedestal.schema.yml +51 -0
- simtools/schemas/model_parameters/fadc_lg_dev_pedestal.schema.yml +37 -0
- simtools/schemas/model_parameters/fadc_lg_err_compensate_pedestal.schema.yml +43 -0
- simtools/schemas/model_parameters/fadc_lg_err_pedestal.schema.yml +49 -0
- simtools/schemas/model_parameters/fadc_lg_max_signal.schema.yml +43 -0
- simtools/schemas/model_parameters/fadc_lg_max_sum.schema.yml +39 -0
- simtools/schemas/model_parameters/fadc_lg_noise.schema.yml +42 -0
- simtools/schemas/model_parameters/fadc_lg_pedestal.schema.yml +40 -0
- simtools/schemas/model_parameters/fadc_lg_sensitivity.schema.yml +50 -0
- simtools/schemas/model_parameters/fadc_lg_sysvar_pedestal.schema.yml +42 -0
- simtools/schemas/model_parameters/fadc_lg_var_pedestal.schema.yml +41 -0
- simtools/schemas/model_parameters/fadc_lg_var_sensitivity.schema.yml +42 -0
- simtools/schemas/model_parameters/fadc_max_signal.schema.yml +43 -0
- simtools/schemas/model_parameters/fadc_max_sum.schema.yml +39 -0
- simtools/schemas/model_parameters/fadc_mhz.schema.yml +31 -0
- simtools/schemas/model_parameters/fadc_noise.schema.yml +41 -0
- simtools/schemas/model_parameters/fadc_pedestal.schema.yml +40 -0
- simtools/schemas/model_parameters/fadc_pulse_shape.schema.yml +39 -0
- simtools/schemas/model_parameters/fadc_sensitivity.schema.yml +50 -0
- simtools/schemas/model_parameters/fadc_sum_bins.schema.yml +43 -0
- simtools/schemas/model_parameters/fadc_sum_offset.schema.yml +43 -0
- simtools/schemas/model_parameters/fadc_sysvar_pedestal.schema.yml +42 -0
- simtools/schemas/model_parameters/fadc_var_pedestal.schema.yml +41 -0
- simtools/schemas/model_parameters/fadc_var_sensitivity.schema.yml +42 -0
- simtools/schemas/model_parameters/flatfielding.schema.yml +37 -0
- simtools/schemas/model_parameters/focal_length.schema.yml +45 -0
- simtools/schemas/model_parameters/focal_surface_parameters.schema.yml +158 -0
- simtools/schemas/model_parameters/focal_surface_ref_radius.schema.yml +29 -0
- simtools/schemas/model_parameters/focus_offset.schema.yml +66 -0
- simtools/schemas/model_parameters/gain_variation.schema.yml +43 -0
- simtools/schemas/model_parameters/geomag_horizontal.schema.yml +34 -0
- simtools/schemas/model_parameters/geomag_rotation.schema.yml +37 -0
- simtools/schemas/model_parameters/geomag_vertical.schema.yml +34 -0
- simtools/schemas/model_parameters/hg_lg_variation.schema.yml +36 -0
- simtools/schemas/model_parameters/iobuf_maximum.schema.yml +34 -0
- simtools/schemas/model_parameters/iobuf_output_maximum.schema.yml +34 -0
- simtools/schemas/model_parameters/laser_events.schema.yml +36 -0
- simtools/schemas/model_parameters/laser_external_trigger.schema.yml +35 -0
- simtools/schemas/model_parameters/laser_photons.schema.yml +32 -0
- simtools/schemas/model_parameters/laser_pulse_exptime.schema.yml +34 -0
- simtools/schemas/model_parameters/laser_pulse_offset.schema.yml +34 -0
- simtools/schemas/model_parameters/laser_pulse_sigtime.schema.yml +33 -0
- simtools/schemas/model_parameters/laser_pulse_twidth.schema.yml +33 -0
- simtools/schemas/model_parameters/laser_var_photons.schema.yml +33 -0
- simtools/schemas/model_parameters/laser_wavelength.schema.yml +33 -0
- simtools/schemas/model_parameters/led_events.schema.yml +34 -0
- simtools/schemas/model_parameters/led_photons.schema.yml +34 -0
- simtools/schemas/model_parameters/led_pulse_offset.schema.yml +32 -0
- simtools/schemas/model_parameters/led_pulse_sigtime.schema.yml +33 -0
- simtools/schemas/model_parameters/led_var_photons.schema.yml +34 -0
- simtools/schemas/model_parameters/lightguide_efficiency_vs_incidence_angle.schema.yml +41 -0
- simtools/schemas/model_parameters/lightguide_efficiency_vs_wavelength.schema.yml +43 -0
- simtools/schemas/model_parameters/min_photoelectrons.schema.yml +35 -0
- simtools/schemas/model_parameters/min_photons.schema.yml +32 -0
- simtools/schemas/model_parameters/mirror_align_random_distance.schema.yml +36 -0
- simtools/schemas/model_parameters/mirror_align_random_horizontal.schema.yml +64 -0
- simtools/schemas/model_parameters/mirror_align_random_vertical.schema.yml +64 -0
- simtools/schemas/model_parameters/mirror_class.schema.yml +41 -0
- simtools/schemas/model_parameters/mirror_degraded_reflection.schema.yml +51 -0
- simtools/schemas/model_parameters/mirror_focal_length.schema.yml +42 -0
- simtools/schemas/model_parameters/mirror_list.schema.yml +38 -0
- simtools/schemas/model_parameters/mirror_offset.schema.yml +41 -0
- simtools/schemas/model_parameters/mirror_panel_2f_measurements.schema.yml +39 -0
- simtools/schemas/model_parameters/mirror_reflection_random_angle.schema.yml +61 -0
- simtools/schemas/model_parameters/mirror_reflectivity.schema.yml +40 -0
- simtools/schemas/model_parameters/multiplicity_offset.schema.yml +46 -0
- simtools/schemas/model_parameters/nsb_autoscale_airmass.schema.yml +51 -0
- simtools/schemas/model_parameters/nsb_gain_drop_scale.schema.yml +37 -0
- simtools/schemas/model_parameters/nsb_offaxis.schema.yml +79 -0
- simtools/schemas/model_parameters/nsb_pixel_rate.schema.yml +47 -0
- simtools/schemas/model_parameters/nsb_reference_spectrum.schema.yml +34 -0
- simtools/schemas/model_parameters/nsb_reference_value.schema.yml +33 -0
- simtools/schemas/model_parameters/nsb_scaling_factor.schema.yml +35 -0
- simtools/schemas/model_parameters/nsb_skymap.schema.yml +39 -0
- simtools/schemas/model_parameters/nsb_spectrum.schema.yml +50 -0
- simtools/schemas/model_parameters/num_gains.schema.yml +34 -0
- simtools/schemas/model_parameters/only_triggered_telescopes.schema.yml +33 -0
- simtools/schemas/model_parameters/optics_properties.schema.yml +31 -0
- simtools/schemas/model_parameters/parabolic_dish.schema.yml +32 -0
- simtools/schemas/model_parameters/pedestal_events.schema.yml +32 -0
- simtools/schemas/model_parameters/photon_delay.schema.yml +38 -0
- simtools/schemas/model_parameters/photons_per_run.schema.yml +33 -0
- simtools/schemas/model_parameters/pixel_cells.schema.yml +35 -0
- simtools/schemas/model_parameters/pixels_parallel.schema.yml +54 -0
- simtools/schemas/model_parameters/pixeltrg_time_step.schema.yml +40 -0
- simtools/schemas/model_parameters/pm_average_gain.schema.yml +34 -0
- simtools/schemas/model_parameters/pm_collection_efficiency.schema.yml +40 -0
- simtools/schemas/model_parameters/pm_gain_index.schema.yml +36 -0
- simtools/schemas/model_parameters/pm_photoelectron_spectrum.schema.yml +41 -0
- simtools/schemas/model_parameters/pm_transit_time.schema.yml +63 -0
- simtools/schemas/model_parameters/pm_voltage_variation.schema.yml +39 -0
- simtools/schemas/model_parameters/primary_mirror_degraded_map.schema.yml +42 -0
- simtools/schemas/model_parameters/primary_mirror_diameter.schema.yml +33 -0
- simtools/schemas/model_parameters/primary_mirror_hole_diameter.schema.yml +33 -0
- simtools/schemas/model_parameters/primary_mirror_incidence_angle.schema.yml +29 -0
- simtools/schemas/model_parameters/primary_mirror_parameters.schema.yml +168 -0
- simtools/schemas/model_parameters/primary_mirror_ref_radius.schema.yml +36 -0
- simtools/schemas/model_parameters/primary_mirror_segmentation.schema.yml +34 -0
- simtools/schemas/model_parameters/qe_variation.schema.yml +43 -0
- simtools/schemas/model_parameters/quantum_efficiency.schema.yml +42 -0
- simtools/schemas/model_parameters/random_focal_length.schema.yml +45 -0
- simtools/schemas/model_parameters/random_generator.schema.yml +36 -0
- simtools/schemas/model_parameters/reference_point_altitude.schema.yml +35 -0
- simtools/schemas/model_parameters/reference_point_latitude.schema.yml +36 -0
- simtools/schemas/model_parameters/reference_point_longitude.schema.yml +36 -0
- simtools/schemas/model_parameters/reference_point_utm_east.schema.yml +34 -0
- simtools/schemas/model_parameters/reference_point_utm_north.schema.yml +34 -0
- simtools/schemas/model_parameters/sampled_output.schema.yml +31 -0
- simtools/schemas/model_parameters/save_pe_with_amplitude.schema.yml +34 -0
- simtools/schemas/model_parameters/secondary_mirror_baffle.schema.yml +79 -0
- simtools/schemas/model_parameters/secondary_mirror_degraded_map.schema.yml +42 -0
- simtools/schemas/model_parameters/secondary_mirror_degraded_reflection.schema.yml +41 -0
- simtools/schemas/model_parameters/secondary_mirror_diameter.schema.yml +33 -0
- simtools/schemas/model_parameters/secondary_mirror_hole_diameter.schema.yml +36 -0
- simtools/schemas/model_parameters/secondary_mirror_incidence_angle.schema.yml +29 -0
- simtools/schemas/model_parameters/secondary_mirror_parameters.schema.yml +168 -0
- simtools/schemas/model_parameters/secondary_mirror_ref_radius.schema.yml +36 -0
- simtools/schemas/model_parameters/secondary_mirror_reflectivity.schema.yml +35 -0
- simtools/schemas/model_parameters/secondary_mirror_segmentation.schema.yml +37 -0
- simtools/schemas/model_parameters/secondary_mirror_shadow_diameter.schema.yml +40 -0
- simtools/schemas/model_parameters/secondary_mirror_shadow_offset.schema.yml +40 -0
- simtools/schemas/model_parameters/store_photoelectrons.schema.yml +41 -0
- simtools/schemas/model_parameters/tailcut_scale.schema.yml +40 -0
- simtools/schemas/model_parameters/telescope_axis_height.schema.yml +31 -0
- simtools/schemas/model_parameters/telescope_random_angle.schema.yml +35 -0
- simtools/schemas/model_parameters/telescope_random_error.schema.yml +34 -0
- simtools/schemas/model_parameters/telescope_sphere_radius.schema.yml +37 -0
- simtools/schemas/model_parameters/telescope_transmission.schema.yml +113 -0
- simtools/schemas/model_parameters/teltrig_min_sigsum.schema.yml +41 -0
- simtools/schemas/model_parameters/teltrig_min_time.schema.yml +36 -0
- simtools/schemas/model_parameters/transit_time_calib_error.schema.yml +36 -0
- simtools/schemas/model_parameters/transit_time_compensate_error.schema.yml +37 -0
- simtools/schemas/model_parameters/transit_time_compensate_step.schema.yml +38 -0
- simtools/schemas/model_parameters/transit_time_error.schema.yml +45 -0
- simtools/schemas/model_parameters/transit_time_jitter.schema.yml +36 -0
- simtools/schemas/model_parameters/trigger_current_limit.schema.yml +32 -0
- simtools/schemas/model_parameters/trigger_delay_compensation.schema.yml +53 -0
- simtools/schemas/model_parameters/trigger_pixels.schema.yml +40 -0
- simtools/simtel/simtel_config_reader.py +353 -0
- simtools/simtel/simtel_config_writer.py +244 -63
- simtools/simtel/{simtel_events.py → simtel_io_events.py} +26 -25
- simtools/simtel/simtel_io_histogram.py +661 -0
- simtools/simtel/simtel_io_histograms.py +569 -0
- simtools/simtel/simulator_array.py +145 -0
- simtools/simtel/{simtel_runner_camera_efficiency.py → simulator_camera_efficiency.py} +76 -52
- simtools/simtel/simulator_light_emission.py +473 -0
- simtools/simtel/simulator_ray_tracing.py +262 -0
- simtools/simulator.py +220 -446
- simtools/testing/__init__.py +0 -0
- simtools/testing/assertions.py +151 -0
- simtools/testing/configuration.py +226 -0
- simtools/testing/helpers.py +42 -0
- simtools/testing/validate_output.py +240 -0
- simtools/utils/general.py +340 -437
- simtools/utils/geometry.py +12 -12
- simtools/utils/names.py +258 -644
- simtools/utils/value_conversion.py +176 -0
- simtools/version.py +2 -0
- simtools/visualization/legend_handlers.py +135 -152
- simtools/visualization/plot_camera.py +379 -0
- simtools/visualization/visualize.py +346 -167
- gammasimtools-0.6.1.dist-info/METADATA +0 -180
- gammasimtools-0.6.1.dist-info/RECORD +0 -91
- gammasimtools-0.6.1.dist-info/entry_points.txt +0 -23
- simtools/applications/db_development_tools/add_new_parameter_to_db.py +0 -81
- simtools/applications/db_development_tools/add_unit_to_parameter_in_db.py +0 -59
- simtools/applications/db_development_tools/mark_non_optics_parameters_non_applicable.py +0 -102
- simtools/applications/get_parameter.py +0 -92
- simtools/applications/make_regular_arrays.py +0 -160
- simtools/applications/produce_array_config.py +0 -136
- simtools/applications/production.py +0 -313
- simtools/applications/sim_showers_for_trigger_rates.py +0 -187
- simtools/applications/tune_psf.py +0 -334
- simtools/corsika/corsika_default_config.py +0 -282
- simtools/corsika/corsika_runner.py +0 -450
- simtools/corsika_simtel/corsika_simtel_runner.py +0 -197
- simtools/db_handler.py +0 -1480
- simtools/ray_tracing.py +0 -525
- simtools/simtel/simtel_histograms.py +0 -414
- simtools/simtel/simtel_runner.py +0 -244
- simtools/simtel/simtel_runner_array.py +0 -293
- simtools/simtel/simtel_runner_ray_tracing.py +0 -277
- {gammasimtools-0.6.1.dist-info → gammasimtools-0.8.1.dist-info}/LICENSE +0 -0
- {gammasimtools-0.6.1.dist-info → gammasimtools-0.8.1.dist-info}/top_level.txt +0 -0
- /simtools/{corsika_simtel → db}/__init__.py +0 -0
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
%YAML 1.2
|
|
2
|
+
---
|
|
3
|
+
title: Schema for secondary_mirror_parameters 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: secondary_mirror_parameters
|
|
9
|
+
developer_note: |-
|
|
10
|
+
Note the application of dual_mirror_ref_radius (primary_ref_radius,
|
|
11
|
+
secondary_ref_radius) this this parameters.
|
|
12
|
+
description: |-
|
|
13
|
+
Defines the position of the secondary mirror along the optical
|
|
14
|
+
axis and its shape. The first parameter ($p_0$) is the offset of the
|
|
15
|
+
mirror with respect to the common reference point defined by
|
|
16
|
+
par:mirror-offset, with positive values indicating that the centre
|
|
17
|
+
of the primary (assuming it has no central hole) is above the reference
|
|
18
|
+
point. The secondary mirror looks the other way, i.e. $p_0$ will usually
|
|
19
|
+
be negative since in the coordinate frame of the secondary, it is
|
|
20
|
+
below the common reference point. Apart from that, a parameter $p_i$
|
|
21
|
+
adds a term $p_i r^{2i}$ to the height of the mirror at
|
|
22
|
+
radial offset $r$. A parabolic mirror will have the second parameter
|
|
23
|
+
($p_1$) at a positive value and all further parameters at 0.
|
|
24
|
+
A concave secondary, reducing the focal length if placed between the
|
|
25
|
+
primary and its focus, will have $p_1 > 0.$.
|
|
26
|
+
A convex mirror (e.g.~for Cassegrain or Ritchey-Chr\'etien optics),
|
|
27
|
+
enlarging the focal length, will have $p_1 < 0$.
|
|
28
|
+
short_description: |-
|
|
29
|
+
Parameters for a polynomial defining the position of the secondary mirror
|
|
30
|
+
along the optical axis and its shape.
|
|
31
|
+
data:
|
|
32
|
+
- name: p0
|
|
33
|
+
type: double
|
|
34
|
+
description: coefficient describing secondary mirror
|
|
35
|
+
required: true
|
|
36
|
+
unit: cm
|
|
37
|
+
default: 0.
|
|
38
|
+
- name: p1
|
|
39
|
+
type: double
|
|
40
|
+
description: coefficient describing secondary mirror
|
|
41
|
+
required: true
|
|
42
|
+
unit: cm
|
|
43
|
+
default: 0.
|
|
44
|
+
- name: p2
|
|
45
|
+
type: double
|
|
46
|
+
description: coefficient describing secondary mirror
|
|
47
|
+
required: true
|
|
48
|
+
unit: cm
|
|
49
|
+
default: 0.
|
|
50
|
+
- name: p3
|
|
51
|
+
type: double
|
|
52
|
+
description: coefficient describing secondary mirror
|
|
53
|
+
required: true
|
|
54
|
+
unit: cm
|
|
55
|
+
default: 0.
|
|
56
|
+
- name: p4
|
|
57
|
+
type: double
|
|
58
|
+
description: coefficient describing secondary mirror
|
|
59
|
+
required: true
|
|
60
|
+
unit: cm
|
|
61
|
+
default: 0.
|
|
62
|
+
- name: p5
|
|
63
|
+
type: double
|
|
64
|
+
description: coefficient describing secondary mirror
|
|
65
|
+
required: true
|
|
66
|
+
unit: cm
|
|
67
|
+
default: 0.
|
|
68
|
+
- name: p6
|
|
69
|
+
type: double
|
|
70
|
+
description: coefficient describing secondary mirror
|
|
71
|
+
required: true
|
|
72
|
+
unit: cm
|
|
73
|
+
default: 0.
|
|
74
|
+
- name: p7
|
|
75
|
+
type: double
|
|
76
|
+
description: coefficient describing secondary mirror
|
|
77
|
+
required: true
|
|
78
|
+
unit: cm
|
|
79
|
+
default: 0.
|
|
80
|
+
- name: p8
|
|
81
|
+
type: double
|
|
82
|
+
description: coefficient describing secondary mirror
|
|
83
|
+
required: true
|
|
84
|
+
unit: cm
|
|
85
|
+
default: 0.
|
|
86
|
+
- name: p9
|
|
87
|
+
type: double
|
|
88
|
+
description: coefficient describing secondary mirror
|
|
89
|
+
required: true
|
|
90
|
+
unit: cm
|
|
91
|
+
default: 0.
|
|
92
|
+
- name: p10
|
|
93
|
+
type: double
|
|
94
|
+
description: coefficient describing secondary mirror
|
|
95
|
+
required: true
|
|
96
|
+
unit: cm
|
|
97
|
+
default: 0.
|
|
98
|
+
- name: p11
|
|
99
|
+
type: double
|
|
100
|
+
description: coefficient describing secondary mirror
|
|
101
|
+
required: true
|
|
102
|
+
unit: cm
|
|
103
|
+
default: 0.
|
|
104
|
+
- name: p12
|
|
105
|
+
type: double
|
|
106
|
+
description: coefficient describing secondary mirror
|
|
107
|
+
required: true
|
|
108
|
+
unit: cm
|
|
109
|
+
default: 0.
|
|
110
|
+
- name: p13
|
|
111
|
+
type: double
|
|
112
|
+
description: coefficient describing secondary mirror
|
|
113
|
+
required: true
|
|
114
|
+
unit: cm
|
|
115
|
+
default: 0.
|
|
116
|
+
- name: p14
|
|
117
|
+
type: double
|
|
118
|
+
description: coefficient describing secondary mirror
|
|
119
|
+
required: true
|
|
120
|
+
unit: cm
|
|
121
|
+
default: 0.
|
|
122
|
+
- name: p15
|
|
123
|
+
type: double
|
|
124
|
+
description: coefficient describing secondary mirror
|
|
125
|
+
required: true
|
|
126
|
+
unit: cm
|
|
127
|
+
default: 0.
|
|
128
|
+
- name: p16
|
|
129
|
+
type: double
|
|
130
|
+
description: coefficient describing secondary mirror
|
|
131
|
+
required: true
|
|
132
|
+
unit: cm
|
|
133
|
+
default: 0.
|
|
134
|
+
- name: p17
|
|
135
|
+
type: double
|
|
136
|
+
description: coefficient describing secondary mirror
|
|
137
|
+
required: true
|
|
138
|
+
unit: cm
|
|
139
|
+
default: 0.
|
|
140
|
+
- name: p18
|
|
141
|
+
type: double
|
|
142
|
+
description: coefficient describing secondary mirror
|
|
143
|
+
required: true
|
|
144
|
+
unit: cm
|
|
145
|
+
default: 0.
|
|
146
|
+
- name: p19
|
|
147
|
+
type: double
|
|
148
|
+
description: coefficient describing secondary mirror
|
|
149
|
+
required: true
|
|
150
|
+
unit: cm
|
|
151
|
+
default: 0.
|
|
152
|
+
instrument:
|
|
153
|
+
class: Structure
|
|
154
|
+
type:
|
|
155
|
+
- SSTS
|
|
156
|
+
- SCTS
|
|
157
|
+
activity:
|
|
158
|
+
setting:
|
|
159
|
+
- SetParameterFromExternal
|
|
160
|
+
validation:
|
|
161
|
+
- ValidateParameterByExpert
|
|
162
|
+
- ValidateTelescopeStructure
|
|
163
|
+
- ValidateOpticalPSF
|
|
164
|
+
- ValidateTelescopeEfficiency
|
|
165
|
+
source:
|
|
166
|
+
- Initial instrument setup
|
|
167
|
+
simulation_software:
|
|
168
|
+
- name: sim_telarray
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
%YAML 1.2
|
|
2
|
+
---
|
|
3
|
+
title: Schema for secondary_mirror_ref_radius 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: secondary_mirror_ref_radius
|
|
9
|
+
description: |-
|
|
10
|
+
The length scale to which the secondary_mirror_parameters apply.
|
|
11
|
+
Typical values could be 1.0 or the focal length of the
|
|
12
|
+
secondary/secondary.
|
|
13
|
+
short_description: The length scale to which the secondary_mirror_parameters apply.
|
|
14
|
+
data:
|
|
15
|
+
- name: secondary_ref_radius
|
|
16
|
+
description: The length scale to which the secondary_mirror_parameters apply.
|
|
17
|
+
type: double
|
|
18
|
+
unit: cm
|
|
19
|
+
condition: mirror_class==2
|
|
20
|
+
default: 1.
|
|
21
|
+
instrument:
|
|
22
|
+
class: Structure
|
|
23
|
+
type:
|
|
24
|
+
- SSTS
|
|
25
|
+
- SCTS
|
|
26
|
+
activity:
|
|
27
|
+
setting:
|
|
28
|
+
- SetParameterFromExternal
|
|
29
|
+
validation:
|
|
30
|
+
- ValidateParameterByExpert
|
|
31
|
+
- ValidateTelescopeStructure
|
|
32
|
+
source:
|
|
33
|
+
- Initial instrument setup
|
|
34
|
+
simulation_software:
|
|
35
|
+
- name: sim_telarray
|
|
36
|
+
internal_parameter_name: secondary_ref_radius
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
%YAML 1.2
|
|
2
|
+
---
|
|
3
|
+
title: Schema for secondary_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: secondary_mirror_reflectivity
|
|
10
|
+
description: |-
|
|
11
|
+
Secondary mirror reflectivity measured directly on the facet as function of
|
|
12
|
+
wavelength.
|
|
13
|
+
data:
|
|
14
|
+
- type: file
|
|
15
|
+
unit: dimensionless
|
|
16
|
+
default: 'no_such_reflectivity.dat'
|
|
17
|
+
instrument:
|
|
18
|
+
class: Structure
|
|
19
|
+
type:
|
|
20
|
+
- SSTS
|
|
21
|
+
- SCTS
|
|
22
|
+
activity:
|
|
23
|
+
setting:
|
|
24
|
+
- SetParameterFromExternal
|
|
25
|
+
- SetTelescopeEfficiency
|
|
26
|
+
validation:
|
|
27
|
+
- ValidateParameterByExpert
|
|
28
|
+
- ValidateTelescopeEfficiency
|
|
29
|
+
- ValidateTriggerPerformance
|
|
30
|
+
- ValidateTelescopeSimulationModel
|
|
31
|
+
source:
|
|
32
|
+
- Calibration
|
|
33
|
+
simulation_software:
|
|
34
|
+
- name: sim_telarray
|
|
35
|
+
internal_parameter_name: mirror_secondary_reflectivity
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
%YAML 1.2
|
|
2
|
+
---
|
|
3
|
+
title: Schema for secondary_mirror_segmentation 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: secondary_mirror_segmentation
|
|
10
|
+
description: |-
|
|
11
|
+
Definition of segments or segment groups of the secondary reflector.
|
|
12
|
+
If not active (value "none") then the secondary is assumed
|
|
13
|
+
to be of one circular piece, with an optional central hole. The inner
|
|
14
|
+
and outer diameters still apply, even in case of segmentation.
|
|
15
|
+
short_description: |-
|
|
16
|
+
Definition of segments or segment groups of the secondary reflector.
|
|
17
|
+
data:
|
|
18
|
+
- type: file
|
|
19
|
+
unit: dimensionless
|
|
20
|
+
default: None
|
|
21
|
+
instrument:
|
|
22
|
+
class: Structure
|
|
23
|
+
type:
|
|
24
|
+
- SSTS
|
|
25
|
+
- SCTS
|
|
26
|
+
activity:
|
|
27
|
+
setting:
|
|
28
|
+
- SetParameterFromExternal
|
|
29
|
+
validation:
|
|
30
|
+
- ValidateParameterByExpert
|
|
31
|
+
- ValidateTelescopeStructure
|
|
32
|
+
- ValidateTelescopeShadowing
|
|
33
|
+
source:
|
|
34
|
+
- Initial instrument setup
|
|
35
|
+
simulation_software:
|
|
36
|
+
- name: sim_telarray
|
|
37
|
+
internal_parameter_name: secondary_segmentation
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
%YAML 1.2
|
|
2
|
+
---
|
|
3
|
+
title: Schema for secondary_mirror_shadow_diameter 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: secondary_mirror_shadow_diameter
|
|
9
|
+
description: |-
|
|
10
|
+
The diameter of any non-reflective but not transparent (black)
|
|
11
|
+
central part of the secondary mirror in a dual-mirror telescope.
|
|
12
|
+
A value of $-1$ indicates that the same value as for the
|
|
13
|
+
reflective diameter of the secondary (par:secondary-diameter) is
|
|
14
|
+
to be used.
|
|
15
|
+
short_description: |-
|
|
16
|
+
The diameter of any non-reflective but not transparent (black)
|
|
17
|
+
central part of the secondary mirror in a dual-mirror telescope.
|
|
18
|
+
data:
|
|
19
|
+
- type: double
|
|
20
|
+
unit: cm
|
|
21
|
+
condition: mirror_class==2
|
|
22
|
+
default: -1.
|
|
23
|
+
instrument:
|
|
24
|
+
class: Structure
|
|
25
|
+
type:
|
|
26
|
+
- SSTS
|
|
27
|
+
- SCTS
|
|
28
|
+
activity:
|
|
29
|
+
setting:
|
|
30
|
+
- SetParameterFromExternal
|
|
31
|
+
validation:
|
|
32
|
+
- ValidateParameterByExpert
|
|
33
|
+
- ValidateTelescopeStructure
|
|
34
|
+
- ValidateTelescopeEfficiency
|
|
35
|
+
- ValidateTelescopeShadowing
|
|
36
|
+
source:
|
|
37
|
+
- Initial instrument setup
|
|
38
|
+
simulation_software:
|
|
39
|
+
- name: sim_telarray
|
|
40
|
+
internal_parameter_name: secondary_shadow_diameter
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
%YAML 1.2
|
|
2
|
+
---
|
|
3
|
+
title: Schema for secondary_mirror_shadow_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: secondary_mirror_shadow_offset
|
|
9
|
+
description: |-
|
|
10
|
+
The secondary mirror shadowing element is normally assumed at the level
|
|
11
|
+
of the edge of the secondary. If this parameter is non-zero, it can be
|
|
12
|
+
set at any position above the center of the primary mirror.
|
|
13
|
+
Even if placed in front of the secondary, it will not be used for
|
|
14
|
+
photons reflected from the secondary.
|
|
15
|
+
short_description: |-
|
|
16
|
+
The offset of the shadowing element from the level of the edge of the
|
|
17
|
+
secondary mirror.
|
|
18
|
+
data:
|
|
19
|
+
- type: double
|
|
20
|
+
unit: cm
|
|
21
|
+
condition: mirror_class==2
|
|
22
|
+
default: 0.0
|
|
23
|
+
instrument:
|
|
24
|
+
class: Structure
|
|
25
|
+
type:
|
|
26
|
+
- SSTS
|
|
27
|
+
- SCTS
|
|
28
|
+
activity:
|
|
29
|
+
setting:
|
|
30
|
+
- SetParameterFromExternal
|
|
31
|
+
validation:
|
|
32
|
+
- ValidateParameterByExpert
|
|
33
|
+
- ValidateTelescopeStructure
|
|
34
|
+
- ValidateTelescopeShadowing
|
|
35
|
+
- ValidateTelescopeEfficiency
|
|
36
|
+
source:
|
|
37
|
+
- Initial instrument setup
|
|
38
|
+
simulation_software:
|
|
39
|
+
- name: sim_telarray
|
|
40
|
+
internal_parameter_name: secondary_shadow_offset
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
%YAML 1.2
|
|
2
|
+
---
|
|
3
|
+
title: Schema for store_photoelectrons 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: store_photoelectrons
|
|
9
|
+
description: |-
|
|
10
|
+
While the save_photons=2 configuration option will save photo-electron data for all events,
|
|
11
|
+
this parameter allows to set a lower limit on the number of photo-electrons
|
|
12
|
+
which must get registered before deciding to store them.
|
|
13
|
+
Setting it to a value of zero or bigger (default: -1) will automatically enable the corresponding save_photons bit.
|
|
14
|
+
It should be cross-checked that the min_photons parameter is unlikely to result
|
|
15
|
+
in fewer than the given number of photo-electrons, as no attempt is made to trace photons through the telescope
|
|
16
|
+
and produce any photo-electrons if there are too few photons in the first place.
|
|
17
|
+
data:
|
|
18
|
+
- type: int
|
|
19
|
+
unit: dimensionless
|
|
20
|
+
default: -1
|
|
21
|
+
allowed_range:
|
|
22
|
+
min: 0
|
|
23
|
+
max: 10000
|
|
24
|
+
instrument:
|
|
25
|
+
class: Camera
|
|
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
|
+
- Configuration
|
|
40
|
+
simulation_software:
|
|
41
|
+
- name: sim_telarray
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
%YAML 1.2
|
|
2
|
+
---
|
|
3
|
+
title: Schema for tailcut_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: tailcut_scale
|
|
9
|
+
description: |-
|
|
10
|
+
The special scheme for selecting pixels belonging to a shower image as implemented in sim_telarray
|
|
11
|
+
(as opposed to the traditional two-level tailcut scheme) has multiple thresholds
|
|
12
|
+
for the various levels of confidence that a pixel actually belongs to the shower image.
|
|
13
|
+
Instead of making them individually configurable, a common scale factor can be applied to all of them.
|
|
14
|
+
data:
|
|
15
|
+
- type: double
|
|
16
|
+
unit: dimensionless
|
|
17
|
+
default: 1
|
|
18
|
+
allowed_range:
|
|
19
|
+
min: 0.0
|
|
20
|
+
max: 10.0
|
|
21
|
+
instrument:
|
|
22
|
+
class: Camera
|
|
23
|
+
type:
|
|
24
|
+
- LSTN
|
|
25
|
+
- LSTS
|
|
26
|
+
- MSTN
|
|
27
|
+
- MSTS
|
|
28
|
+
- SSTS
|
|
29
|
+
- SCTS
|
|
30
|
+
activity:
|
|
31
|
+
setting:
|
|
32
|
+
- SetParameterFromExternal
|
|
33
|
+
validation:
|
|
34
|
+
- ValidateParameterByExpert
|
|
35
|
+
- ValidateCameraChargeResponse
|
|
36
|
+
- ValidateCameraGainsAndEfficiency
|
|
37
|
+
source:
|
|
38
|
+
- Calibration
|
|
39
|
+
simulation_software:
|
|
40
|
+
- name: sim_telarray
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
%YAML 1.2
|
|
2
|
+
---
|
|
3
|
+
title: Schema for telescope_axis_height 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: telescope_axis_height
|
|
9
|
+
description: Height of telescope elevation axis above ground level.
|
|
10
|
+
data:
|
|
11
|
+
- type: double
|
|
12
|
+
unit: m
|
|
13
|
+
instrument:
|
|
14
|
+
class: Structure
|
|
15
|
+
type:
|
|
16
|
+
- LSTN
|
|
17
|
+
- LSTS
|
|
18
|
+
- MSTN
|
|
19
|
+
- MSTS
|
|
20
|
+
- SSTS
|
|
21
|
+
- SCTS
|
|
22
|
+
activity:
|
|
23
|
+
setting:
|
|
24
|
+
- SetParameterFromExternal
|
|
25
|
+
validation:
|
|
26
|
+
- ValidateParameterByExpert
|
|
27
|
+
- ValidationWorkflowMissing
|
|
28
|
+
source:
|
|
29
|
+
- Initial instrument setup
|
|
30
|
+
simulation_software:
|
|
31
|
+
- name: corsika
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
%YAML 1.2
|
|
2
|
+
---
|
|
3
|
+
title: Schema for telescope_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: telescope_random_angle
|
|
9
|
+
description: |-
|
|
10
|
+
Random (known) misalignment of the telescope in each axis
|
|
11
|
+
(Gaussian r.m.s.). The resulting telescope pointing including
|
|
12
|
+
this misalignment are saved as telescope azimuth and altitude
|
|
13
|
+
pointing directions.
|
|
14
|
+
data:
|
|
15
|
+
- type: double
|
|
16
|
+
unit: deg
|
|
17
|
+
default: 0.001
|
|
18
|
+
instrument:
|
|
19
|
+
class: Structure
|
|
20
|
+
type:
|
|
21
|
+
- LSTN
|
|
22
|
+
- LSTS
|
|
23
|
+
- MSTN
|
|
24
|
+
- MSTS
|
|
25
|
+
- SSTS
|
|
26
|
+
- SCTS
|
|
27
|
+
activity:
|
|
28
|
+
setting:
|
|
29
|
+
- SetParameterFromExternal
|
|
30
|
+
validation:
|
|
31
|
+
- ValidationWorkflowMissing
|
|
32
|
+
source:
|
|
33
|
+
- Calibration
|
|
34
|
+
simulation_software:
|
|
35
|
+
- name: sim_telarray
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
%YAML 1.2
|
|
2
|
+
---
|
|
3
|
+
title: Schema for telescope_random_error 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: telescope_random_error
|
|
9
|
+
description: |-
|
|
10
|
+
Random (unknown) alignment error of the telescope in each axis
|
|
11
|
+
(Gaussian r.m.s.). The resulting telescope pointing including
|
|
12
|
+
this misalignment is not saved to the simulation output.
|
|
13
|
+
data:
|
|
14
|
+
- type: double
|
|
15
|
+
unit: deg
|
|
16
|
+
default: 0.001
|
|
17
|
+
instrument:
|
|
18
|
+
class: Structure
|
|
19
|
+
type:
|
|
20
|
+
- LSTN
|
|
21
|
+
- LSTS
|
|
22
|
+
- MSTN
|
|
23
|
+
- MSTS
|
|
24
|
+
- SSTS
|
|
25
|
+
- SCTS
|
|
26
|
+
activity:
|
|
27
|
+
setting:
|
|
28
|
+
- SetParameterFromExternal
|
|
29
|
+
validation:
|
|
30
|
+
- ValidationWorkflowMissing
|
|
31
|
+
source:
|
|
32
|
+
- Calibration
|
|
33
|
+
simulation_software:
|
|
34
|
+
- name: sim_telarray
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
%YAML 1.2
|
|
2
|
+
---
|
|
3
|
+
title: Schema for telescope_sphere_radius 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: telescope_sphere_radius
|
|
9
|
+
developer_note: |-
|
|
10
|
+
Note the axes_offset in the calculation of the sphere radius.
|
|
11
|
+
description: |-
|
|
12
|
+
Radius of fiducial sphere within which all telescope optical elements
|
|
13
|
+
are fully contained.
|
|
14
|
+
short_description: Telescope fiducial sphere radius.
|
|
15
|
+
data:
|
|
16
|
+
- type: double
|
|
17
|
+
unit: m
|
|
18
|
+
instrument:
|
|
19
|
+
class: Structure
|
|
20
|
+
type:
|
|
21
|
+
- LSTN
|
|
22
|
+
- LSTS
|
|
23
|
+
- MSTN
|
|
24
|
+
- MSTS
|
|
25
|
+
- SSTS
|
|
26
|
+
- SCTS
|
|
27
|
+
activity:
|
|
28
|
+
setting:
|
|
29
|
+
- SetParameterFromExternal
|
|
30
|
+
- SetTelescopeFiducialSphere
|
|
31
|
+
validation:
|
|
32
|
+
- ValidateParameterByExpert
|
|
33
|
+
- ValidationWorkflowMissing
|
|
34
|
+
source:
|
|
35
|
+
- Initial instrument setup
|
|
36
|
+
simulation_software:
|
|
37
|
+
- name: corsika
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
%YAML 1.2
|
|
2
|
+
---
|
|
3
|
+
title: Schema for telescope_transmission 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: telescope_transmission
|
|
9
|
+
developer_note: |-
|
|
10
|
+
Note 1 - If compiled with the \texttt{RAYTRACING_INTERSECT_RODS} pre-processor
|
|
11
|
+
definition, the default value is 1.00, as the absorption is
|
|
12
|
+
calculated explicitly.
|
|
13
|
+
Note 2 - p0 should be uint
|
|
14
|
+
description: |-
|
|
15
|
+
Off-axis angle-dependent transmission, accounting for absorption and
|
|
16
|
+
shadowing by masts. Two types of functions are available, a constant
|
|
17
|
+
and a variable one ($T(\theta)$), where the former is selected
|
|
18
|
+
if transmission_function = 0 and the latter if transmission_function = 1.
|
|
19
|
+
Two options are available for the variable function, it is defined as
|
|
20
|
+
\[
|
|
21
|
+
T(\theta)=p_0/(1.+p_2 ((\sin\theta)/r_3)^{p_4}),
|
|
22
|
+
\]
|
|
23
|
+
if $p_5=0$, and as
|
|
24
|
+
\[
|
|
25
|
+
T(\theta)=p_0/(1.+p_2 ((\sin\theta)/r_3)^{p_4})^{p_5},
|
|
26
|
+
\]
|
|
27
|
+
if $p_5\ne0$.
|
|
28
|
+
The parameter $r_3$ is defined as $r_3=p_3 \pi/180$ and
|
|
29
|
+
$p_0$, $p_2$, $p_3$, $p_4$ and $p_5$
|
|
30
|
+
are the first, third, fourth, fifth and sixth parameters.
|
|
31
|
+
Default values are $p_4=2$, $p_3=0.5 d/f$ when these are missing/zero.
|
|
32
|
+
The $p_5$ parameter may not be available/supported and is effectively
|
|
33
|
+
zero/unused if not.
|
|
34
|
+
A value of $p_0 = 0.89$ means that 11\% of all light is assumed to be
|
|
35
|
+
absorbed by masts.
|
|
36
|
+
Shadowing by camera body is accounted for later
|
|
37
|
+
(see parameter par:camera-body-diameter and par:camera-depth).
|
|
38
|
+
short_description: |-
|
|
39
|
+
Off-axis angle-dependent transmission, accounting for absorption and
|
|
40
|
+
shadowing by masts.
|
|
41
|
+
data:
|
|
42
|
+
- name: constant_p0
|
|
43
|
+
type: double
|
|
44
|
+
description: |
|
|
45
|
+
Constant transmission factor $p_0$.
|
|
46
|
+
required: true
|
|
47
|
+
unit: dimensionless
|
|
48
|
+
default: 0.89
|
|
49
|
+
allowed_range:
|
|
50
|
+
min: 0.0
|
|
51
|
+
max: 1.0
|
|
52
|
+
- name: transmission_function
|
|
53
|
+
required: false
|
|
54
|
+
type: double
|
|
55
|
+
description: |
|
|
56
|
+
Transmission function identifier.
|
|
57
|
+
default: 0
|
|
58
|
+
allowed_range:
|
|
59
|
+
min: 0
|
|
60
|
+
max: 1
|
|
61
|
+
unit: dimensionless
|
|
62
|
+
- name: transmission_p2
|
|
63
|
+
description: |
|
|
64
|
+
Transmission factor $p_2$.
|
|
65
|
+
required: false
|
|
66
|
+
type: double
|
|
67
|
+
default: 0.0
|
|
68
|
+
unit: dimensionless
|
|
69
|
+
- name: transmission_p3
|
|
70
|
+
description: |
|
|
71
|
+
Transmission factor $p_3$.
|
|
72
|
+
required: false
|
|
73
|
+
type: double
|
|
74
|
+
default: 0.0
|
|
75
|
+
unit: dimensionless
|
|
76
|
+
- name: transmission_p4
|
|
77
|
+
description: |
|
|
78
|
+
Transmission factor $p_4$.
|
|
79
|
+
required: false
|
|
80
|
+
type: double
|
|
81
|
+
default: 0.0
|
|
82
|
+
unit: dimensionless
|
|
83
|
+
- name: transmission_p5
|
|
84
|
+
description: |
|
|
85
|
+
Transmission factor $p_5.
|
|
86
|
+
required: false
|
|
87
|
+
type: double
|
|
88
|
+
default: 0.0
|
|
89
|
+
unit: dimensionless
|
|
90
|
+
instrument:
|
|
91
|
+
class: Structure
|
|
92
|
+
type:
|
|
93
|
+
- LSTN
|
|
94
|
+
- LSTS
|
|
95
|
+
- MSTN
|
|
96
|
+
- MSTS
|
|
97
|
+
- SSTS
|
|
98
|
+
- SCTS
|
|
99
|
+
activity:
|
|
100
|
+
setting:
|
|
101
|
+
- SetParameterFromExternal
|
|
102
|
+
- SetTelescopeShadowingParameters
|
|
103
|
+
- SetTelescopeEfficiency
|
|
104
|
+
validation:
|
|
105
|
+
- ValidateParameterByExpert
|
|
106
|
+
- ValidateTelescopeEfficiency
|
|
107
|
+
- ValidateTelescopeShadowing
|
|
108
|
+
- ValidateTriggerPerformance
|
|
109
|
+
- ValidateTelescopeSimulationModel
|
|
110
|
+
source:
|
|
111
|
+
- Calibration
|
|
112
|
+
simulation_software:
|
|
113
|
+
- name: sim_telarray
|