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,42 @@
|
|
|
1
|
+
%YAML 1.2
|
|
2
|
+
---
|
|
3
|
+
title: Schema for quantum_efficiency 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: quantum_efficiency
|
|
10
|
+
description: |-
|
|
11
|
+
Quantum or photon detection efficiency
|
|
12
|
+
averaged over all pixels per camera.
|
|
13
|
+
Random pixel-to-pixel variations are calculated using
|
|
14
|
+
the qe_variation parameter. Pixel-to-pixel differences
|
|
15
|
+
in detection efficiency using scaling factors can be
|
|
16
|
+
specified in the camera_config_file.
|
|
17
|
+
data:
|
|
18
|
+
- type: file
|
|
19
|
+
unit: dimensionless
|
|
20
|
+
default: 'no_such_qe.dat'
|
|
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
|
+
- ValidateTelescopeEfficiency
|
|
38
|
+
- ValidateTelescopeSimulationModel
|
|
39
|
+
source:
|
|
40
|
+
- Calibration
|
|
41
|
+
simulation_software:
|
|
42
|
+
- name: sim_telarray
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
%YAML 1.2
|
|
2
|
+
---
|
|
3
|
+
title: Schema for random_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: random_focal_length
|
|
9
|
+
developer_note: Note - Description changed significantly in the sim_telarray manual
|
|
10
|
+
- Note
|
|
11
|
+
description: |-
|
|
12
|
+
The spread of random fluctuations in mirror panel focal lengths.
|
|
13
|
+
These parameters get only applied if the focal lengths in the mirror list
|
|
14
|
+
file (par:mirror_list) are zero (automatic) or negative (individual with
|
|
15
|
+
error). For positive focal lengths in that list (definite values) the
|
|
16
|
+
random focal length value does not get applied.
|
|
17
|
+
short_description: The spread of random fluctuations in mirror focal lengths.
|
|
18
|
+
data:
|
|
19
|
+
- type: double
|
|
20
|
+
description: Width (r.m.s.) of Gaussian distribution for random focal lengths.
|
|
21
|
+
unit: cm
|
|
22
|
+
default: 7.4
|
|
23
|
+
condition: mirror_class==1
|
|
24
|
+
- type: double
|
|
25
|
+
description: Width of top-hat distribution for random focal lengths.
|
|
26
|
+
unit: cm
|
|
27
|
+
default: 0.0
|
|
28
|
+
condition: mirror_class==1
|
|
29
|
+
instrument:
|
|
30
|
+
class: Structure
|
|
31
|
+
type:
|
|
32
|
+
- LSTN
|
|
33
|
+
- LSTS
|
|
34
|
+
- MSTN
|
|
35
|
+
- MSTS
|
|
36
|
+
activity:
|
|
37
|
+
setting:
|
|
38
|
+
- SetParameterFromExternal
|
|
39
|
+
validation:
|
|
40
|
+
- ValidateMirrorPanelParameters
|
|
41
|
+
- ValidateOpticalPSF
|
|
42
|
+
source:
|
|
43
|
+
- Calibration
|
|
44
|
+
simulation_software:
|
|
45
|
+
- name: sim_telarray
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
%YAML 1.2
|
|
2
|
+
---
|
|
3
|
+
title: Schema for random_generator 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: random_generator
|
|
9
|
+
short_description: Random generator used.
|
|
10
|
+
description: |-
|
|
11
|
+
Random generator used. Unless compiled with -DWITH_GSL_RNG the only valid
|
|
12
|
+
and known generator is "Ranlux". When using the GNU Scientific Library for
|
|
13
|
+
random number generators, this can be "Ranlux", "mt19937", "taus", "Ranlxd2",
|
|
14
|
+
or "GSL:" plus the name of any other GSL-based generator, or "GSL_RNG_TYPE"
|
|
15
|
+
to obtain the generator from the environment variable of that name.
|
|
16
|
+
data:
|
|
17
|
+
- type: string
|
|
18
|
+
default: "Ranlux"
|
|
19
|
+
instrument:
|
|
20
|
+
class: Camera
|
|
21
|
+
type:
|
|
22
|
+
- LSTN
|
|
23
|
+
- LSTS
|
|
24
|
+
- MSTN
|
|
25
|
+
- MSTS
|
|
26
|
+
- SSTS
|
|
27
|
+
- SCTS
|
|
28
|
+
activity:
|
|
29
|
+
setting:
|
|
30
|
+
- SetParameterFromExternal
|
|
31
|
+
validation:
|
|
32
|
+
- ValidateParameterByExpert
|
|
33
|
+
source:
|
|
34
|
+
- Configuration
|
|
35
|
+
simulation_software:
|
|
36
|
+
- name: sim_telarray
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
%YAML 1.2
|
|
2
|
+
---
|
|
3
|
+
title: Schema for reference_point_altitude 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: reference_point_altitude
|
|
9
|
+
description: |-
|
|
10
|
+
Altitude above sea level of site reference point.
|
|
11
|
+
This location is typically identical or close to the site center.
|
|
12
|
+
short_description: Altitude above sea level of site reference point.
|
|
13
|
+
data:
|
|
14
|
+
- type: double
|
|
15
|
+
unit: m
|
|
16
|
+
allowed_range:
|
|
17
|
+
min: 0.0
|
|
18
|
+
instrument:
|
|
19
|
+
class: Site
|
|
20
|
+
type:
|
|
21
|
+
- Observatory
|
|
22
|
+
site:
|
|
23
|
+
- North
|
|
24
|
+
- South
|
|
25
|
+
activity:
|
|
26
|
+
setting:
|
|
27
|
+
- SetParameterFromExternal
|
|
28
|
+
- SetArrayElementCoordinates
|
|
29
|
+
validation:
|
|
30
|
+
- ValidateParameterByExpert
|
|
31
|
+
- ValidateArrayElementCoordinates
|
|
32
|
+
source:
|
|
33
|
+
- Initial instrument setup
|
|
34
|
+
simulation_software:
|
|
35
|
+
- name: corsika
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
%YAML 1.2
|
|
2
|
+
---
|
|
3
|
+
title: Schema for reference_point_latitude 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: reference_point_latitude
|
|
9
|
+
description: |-
|
|
10
|
+
Latitude coincident with site reference point.
|
|
11
|
+
Not to be used for coordinate transformations (use UTM coordinates for this).
|
|
12
|
+
short_description: Latitude of site reference point.
|
|
13
|
+
data:
|
|
14
|
+
- type: double
|
|
15
|
+
unit: deg
|
|
16
|
+
allowed_range:
|
|
17
|
+
min: -90.0
|
|
18
|
+
max: 90.0
|
|
19
|
+
instrument:
|
|
20
|
+
class: Site
|
|
21
|
+
type:
|
|
22
|
+
- Observatory
|
|
23
|
+
site:
|
|
24
|
+
- North
|
|
25
|
+
- South
|
|
26
|
+
activity:
|
|
27
|
+
setting:
|
|
28
|
+
- SetParameterFromExternal
|
|
29
|
+
- SetArrayElementCoordinates
|
|
30
|
+
validation:
|
|
31
|
+
- ValidateParameterByExpert
|
|
32
|
+
- ValidateArrayElementCoordinates
|
|
33
|
+
source:
|
|
34
|
+
- Initial instrument setup
|
|
35
|
+
simulation_software:
|
|
36
|
+
- name: corsika
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
%YAML 1.2
|
|
2
|
+
---
|
|
3
|
+
title: Schema for reference_point_longitude 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: reference_point_longitude
|
|
9
|
+
description: |-
|
|
10
|
+
Longitude coincident with site reference point.
|
|
11
|
+
Not to be used for coordinate transformations (use UTM coordinates for this).
|
|
12
|
+
short_description: Longitude of site reference point.
|
|
13
|
+
data:
|
|
14
|
+
- type: double
|
|
15
|
+
unit: deg
|
|
16
|
+
allowed_range:
|
|
17
|
+
min: -180.0
|
|
18
|
+
max: 180.0
|
|
19
|
+
instrument:
|
|
20
|
+
class: Site
|
|
21
|
+
type:
|
|
22
|
+
- Observatory
|
|
23
|
+
site:
|
|
24
|
+
- North
|
|
25
|
+
- South
|
|
26
|
+
activity:
|
|
27
|
+
setting:
|
|
28
|
+
- SetParameterFromExternal
|
|
29
|
+
- SetArrayElementCoordinates
|
|
30
|
+
validation:
|
|
31
|
+
- ValidateParameterByExpert
|
|
32
|
+
- ValidateArrayElementCoordinates
|
|
33
|
+
source:
|
|
34
|
+
- Initial instrument setup
|
|
35
|
+
simulation_software:
|
|
36
|
+
- name: corsika
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
%YAML 1.2
|
|
2
|
+
---
|
|
3
|
+
title: Schema for reference_point_utm_east 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: reference_point_utm_east
|
|
9
|
+
description: |-
|
|
10
|
+
UTM east of site reference point.
|
|
11
|
+
Telescope x,y positions are calculated relative to this
|
|
12
|
+
position.
|
|
13
|
+
short_description: UTM east of site reference point.
|
|
14
|
+
data:
|
|
15
|
+
- type: double
|
|
16
|
+
unit: m
|
|
17
|
+
allowed_range:
|
|
18
|
+
min: 0.
|
|
19
|
+
instrument:
|
|
20
|
+
class: Site
|
|
21
|
+
type:
|
|
22
|
+
- Observatory
|
|
23
|
+
site:
|
|
24
|
+
- North
|
|
25
|
+
- South
|
|
26
|
+
activity:
|
|
27
|
+
setting:
|
|
28
|
+
- SetParameterFromExternal
|
|
29
|
+
- SetArrayElementCoordinates
|
|
30
|
+
validation:
|
|
31
|
+
- ValidateParameterByExpert
|
|
32
|
+
- ValidateArrayElementCoordinates
|
|
33
|
+
source:
|
|
34
|
+
- Initial instrument setup
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
%YAML 1.2
|
|
2
|
+
---
|
|
3
|
+
title: Schema for reference_point_utm_north 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: reference_point_utm_north
|
|
9
|
+
description: |-
|
|
10
|
+
UTM north of site reference point.
|
|
11
|
+
Telescope x,y positions are calculated relative to this
|
|
12
|
+
position.
|
|
13
|
+
short_description: UTM north of site reference point.
|
|
14
|
+
data:
|
|
15
|
+
- type: double
|
|
16
|
+
unit: m
|
|
17
|
+
allowed_range:
|
|
18
|
+
min: 0.
|
|
19
|
+
instrument:
|
|
20
|
+
class: Site
|
|
21
|
+
type:
|
|
22
|
+
- Observatory
|
|
23
|
+
site:
|
|
24
|
+
- North
|
|
25
|
+
- South
|
|
26
|
+
activity:
|
|
27
|
+
setting:
|
|
28
|
+
- SetParameterFromExternal
|
|
29
|
+
- SetArrayElementCoordinates
|
|
30
|
+
validation:
|
|
31
|
+
- ValidateParameterByExpert
|
|
32
|
+
- ValidateArrayElementCoordinates
|
|
33
|
+
source:
|
|
34
|
+
- Initial instrument setup
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
%YAML 1.2
|
|
2
|
+
---
|
|
3
|
+
title: Schema for sampled_output 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: sampled_output
|
|
9
|
+
description: |-
|
|
10
|
+
Select a specific output format (if several available). A value of 0 means to write ADC sums, a value of 1 to write ADC samples.
|
|
11
|
+
data:
|
|
12
|
+
- type: boolean
|
|
13
|
+
default: true
|
|
14
|
+
instrument:
|
|
15
|
+
class: Camera
|
|
16
|
+
type:
|
|
17
|
+
- LSTN
|
|
18
|
+
- LSTS
|
|
19
|
+
- MSTN
|
|
20
|
+
- MSTS
|
|
21
|
+
- SSTS
|
|
22
|
+
- SCTS
|
|
23
|
+
activity:
|
|
24
|
+
setting:
|
|
25
|
+
- SetParameterFromExternal
|
|
26
|
+
validation:
|
|
27
|
+
- ValidateParameterByExpert
|
|
28
|
+
source:
|
|
29
|
+
- Configuration
|
|
30
|
+
simulation_software:
|
|
31
|
+
- name: sim_telarray
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
%YAML 1.2
|
|
2
|
+
---
|
|
3
|
+
title: Schema for save_pe_with_amplitude 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: save_pe_with_amplitude
|
|
9
|
+
description: |-
|
|
10
|
+
True if photo-electron data is to be stored with the resulting amplitudes (in mean-p.e. units) in addition to the arrival times.
|
|
11
|
+
Storing of photo-electron data should be activated separately (see save_photons (bit 1) and store_photoelectrons parameters)
|
|
12
|
+
but non-zero values of this parameter will also activate save_photons bit 1.
|
|
13
|
+
Storing p.e. in internal calibration events is controlled separately by save_calibration_pe.
|
|
14
|
+
data:
|
|
15
|
+
- type: boolean
|
|
16
|
+
default: false
|
|
17
|
+
instrument:
|
|
18
|
+
class: Camera
|
|
19
|
+
type:
|
|
20
|
+
- LSTN
|
|
21
|
+
- LSTS
|
|
22
|
+
- MSTN
|
|
23
|
+
- MSTS
|
|
24
|
+
- SSTS
|
|
25
|
+
- SCTS
|
|
26
|
+
activity:
|
|
27
|
+
setting:
|
|
28
|
+
- SetParameterFromExternal
|
|
29
|
+
validation:
|
|
30
|
+
- ValidateParameterByExpert
|
|
31
|
+
source:
|
|
32
|
+
- Configuration
|
|
33
|
+
simulation_software:
|
|
34
|
+
- name: sim_telarray
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
%YAML 1.2
|
|
2
|
+
---
|
|
3
|
+
title: Schema for secondary_mirror_baffle 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_baffle
|
|
9
|
+
description: |-
|
|
10
|
+
Defines a baffle around the secondary mirror to keep NSB light from
|
|
11
|
+
falling directly onto the camera. Shadowing by the baffle is applied
|
|
12
|
+
both to incoming photons and to photons reflected from the primary
|
|
13
|
+
to the secondary mirror. Absence of a baffle is indicated by $r_1=0$.
|
|
14
|
+
short_description: |-
|
|
15
|
+
Defines a baffle around the secondary mirror to keep NSB light from
|
|
16
|
+
falling directly onto the camera.
|
|
17
|
+
data:
|
|
18
|
+
- name: baffle_z1
|
|
19
|
+
description: |-
|
|
20
|
+
Beginning of the baffle along the optical axis, counted from the
|
|
21
|
+
primary center, which means a z value of par:secondary_ref_radius
|
|
22
|
+
times the first par:secondary_mirror_parameters value is at the
|
|
23
|
+
height of the center of the secondary.
|
|
24
|
+
type: double
|
|
25
|
+
unit: cm
|
|
26
|
+
required: true
|
|
27
|
+
condition: mirror_class==2
|
|
28
|
+
default: 0.
|
|
29
|
+
- name: baffle_z2
|
|
30
|
+
description: |-
|
|
31
|
+
End of the baffle along the optical axis, counted from the
|
|
32
|
+
primary center, which means a z value of par:secondary_ref_radius
|
|
33
|
+
times the first par:secondary_mirror_parameters value is at the
|
|
34
|
+
height of the center of the secondary.
|
|
35
|
+
type: double
|
|
36
|
+
unit: cm
|
|
37
|
+
required: true
|
|
38
|
+
condition: mirror_class==2
|
|
39
|
+
default: 0.
|
|
40
|
+
- name: radius_r1
|
|
41
|
+
description: Radius of open cylinder shape or cone shape at baffle_z1.
|
|
42
|
+
type: double
|
|
43
|
+
unit: cm
|
|
44
|
+
required: true
|
|
45
|
+
condition: mirror_class==2
|
|
46
|
+
default: 0.
|
|
47
|
+
- name: thickness_d1
|
|
48
|
+
description: |-
|
|
49
|
+
Wall thickness of the baffle. The radius radius_r1 and radius_r2
|
|
50
|
+
are the inner radii in case of finite wall thickness.
|
|
51
|
+
type: double
|
|
52
|
+
unit: cm
|
|
53
|
+
required: false
|
|
54
|
+
condition: mirror_class==2
|
|
55
|
+
default: 0.
|
|
56
|
+
- name: radius_r2
|
|
57
|
+
description: Radius of open cylinder shape or cone shape at baffle_z2.
|
|
58
|
+
type: double
|
|
59
|
+
unit: cm
|
|
60
|
+
required: false
|
|
61
|
+
condition: mirror_class==2
|
|
62
|
+
default: 0.
|
|
63
|
+
instrument:
|
|
64
|
+
class: Structure
|
|
65
|
+
type:
|
|
66
|
+
- SSTS
|
|
67
|
+
- SCTS
|
|
68
|
+
activity:
|
|
69
|
+
setting:
|
|
70
|
+
- SetParameterFromExternal
|
|
71
|
+
validation:
|
|
72
|
+
- ValidateParameterByExpert
|
|
73
|
+
- ValidateTelescopeStructure
|
|
74
|
+
- ValidateTelescopeEfficiency
|
|
75
|
+
source:
|
|
76
|
+
- Initial instrument setup
|
|
77
|
+
simulation_software:
|
|
78
|
+
- name: sim_telarray
|
|
79
|
+
internal_parameter_name: secondary_baffle
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
%YAML 1.2
|
|
2
|
+
---
|
|
3
|
+
title: Schema for secondary_mirror_degraded_map 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: |-
|
|
9
|
+
To be replaced by a data table. Accepted range is 0 to 1
|
|
10
|
+
name: secondary_mirror_degraded_map
|
|
11
|
+
description: |-
|
|
12
|
+
Position-dependent map of degradation factors for the secondary mirror.
|
|
13
|
+
This degradation gets applied on top of secondary_mirror_degraded_reflection.
|
|
14
|
+
Note that the impact of it on the nightsky background is not automatically
|
|
15
|
+
accounted for and must be evaluated separately and included in the
|
|
16
|
+
configured NSB pixel p.e. rates. It is recommended to use a map with an
|
|
17
|
+
average efficiency of 1.0 and use secondary_mirror_degraded_reflection
|
|
18
|
+
for the overall degradation. Tables with equidistant spacing in both x and
|
|
19
|
+
y are highly recommended because the interpolation is faster.
|
|
20
|
+
short_description: |-
|
|
21
|
+
Position-dependent map of degradation factors for the secondary mirror.
|
|
22
|
+
data:
|
|
23
|
+
- type: file
|
|
24
|
+
unit: dimensionless
|
|
25
|
+
default: None
|
|
26
|
+
instrument:
|
|
27
|
+
class: Structure
|
|
28
|
+
type:
|
|
29
|
+
- SSTS
|
|
30
|
+
- SCTS
|
|
31
|
+
activity:
|
|
32
|
+
setting:
|
|
33
|
+
- SetParameterFromExternal
|
|
34
|
+
validation:
|
|
35
|
+
- ValidateParameterByExpert
|
|
36
|
+
- ValidateTelescopeStructure
|
|
37
|
+
- ValidateTelescopeShadowing
|
|
38
|
+
source:
|
|
39
|
+
- Initial instrument setup
|
|
40
|
+
simulation_software:
|
|
41
|
+
- name: sim_telarray
|
|
42
|
+
internal_parameter_name: secondary_degraded_map
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
%YAML 1.2
|
|
2
|
+
---
|
|
3
|
+
title: Schema for secondary_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: secondary_mirror_degraded_reflection
|
|
9
|
+
description: |-
|
|
10
|
+
Mirror degradation factor for the secondary mirror (wavelength independent).
|
|
11
|
+
Strictly interpreted as being for reflection on the secondary mirror of a
|
|
12
|
+
dual-mirror telescope, and still gets applied in simulations where only
|
|
13
|
+
the reflection on the primary mirror is bypassd (for example a
|
|
14
|
+
flat-fielding light source illuminating the camera via reflection on the
|
|
15
|
+
secondary).
|
|
16
|
+
short_description: |-
|
|
17
|
+
Mirror degradation factor for the secondary mirror (wavelength independent).
|
|
18
|
+
data:
|
|
19
|
+
- type: double
|
|
20
|
+
unit: dimensionless
|
|
21
|
+
default: 1.
|
|
22
|
+
allowed_range:
|
|
23
|
+
min: 0.
|
|
24
|
+
max: 1.
|
|
25
|
+
condition: mirror_class==2
|
|
26
|
+
instrument:
|
|
27
|
+
class: Structure
|
|
28
|
+
type:
|
|
29
|
+
- SSTS
|
|
30
|
+
- SCTS
|
|
31
|
+
activity:
|
|
32
|
+
setting:
|
|
33
|
+
- SetParameterFromExternal
|
|
34
|
+
validation:
|
|
35
|
+
- ValidateParameterByExpert
|
|
36
|
+
- ValidateTelescopeStructure
|
|
37
|
+
source:
|
|
38
|
+
- Initial instrument setup
|
|
39
|
+
simulation_software:
|
|
40
|
+
- name: sim_telarray
|
|
41
|
+
internal_parameter_name: mirror2_degraded_reflection
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
%YAML 1.2
|
|
2
|
+
---
|
|
3
|
+
title: Schema for secondary_mirror_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_diameter
|
|
9
|
+
description: |-
|
|
10
|
+
The outer diameter of the secondary reflector.
|
|
11
|
+
Used only in case mirror_list is not defined (i.e., mirror_list=none).
|
|
12
|
+
data:
|
|
13
|
+
- name: secondary_mirror_diameter
|
|
14
|
+
type: double
|
|
15
|
+
unit: cm
|
|
16
|
+
condition: mirror_list==None&&mirror_class==2
|
|
17
|
+
default: 0.
|
|
18
|
+
instrument:
|
|
19
|
+
class: Structure
|
|
20
|
+
type:
|
|
21
|
+
- SSTS
|
|
22
|
+
- SCTS
|
|
23
|
+
activity:
|
|
24
|
+
setting:
|
|
25
|
+
- SetParameterFromExternal
|
|
26
|
+
validation:
|
|
27
|
+
- ValidateParameterByExpert
|
|
28
|
+
- ValidateTelescopeStructure
|
|
29
|
+
source:
|
|
30
|
+
- Initial instrument setup
|
|
31
|
+
simulation_software:
|
|
32
|
+
- name: sim_telarray
|
|
33
|
+
internal_parameter_name: secondary_diameter
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
%YAML 1.2
|
|
2
|
+
---
|
|
3
|
+
title: Schema for secondary_mirror_hole_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_hole_diameter
|
|
9
|
+
description: |-
|
|
10
|
+
The diameter of any non-reflective part of the secondary mirror.
|
|
11
|
+
For the secondary, this should not be a hole.
|
|
12
|
+
With a segments defined, it effectively clips the inner edge of
|
|
13
|
+
the segments
|
|
14
|
+
data:
|
|
15
|
+
- name: secondary_hole_diameter
|
|
16
|
+
description: Diameter of any non-reflective part of the secondary mirror.
|
|
17
|
+
type: double
|
|
18
|
+
default: 0.
|
|
19
|
+
unit: cm
|
|
20
|
+
condition: mirror_class==2
|
|
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_hole_diameter
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
%YAML 1.2
|
|
2
|
+
---
|
|
3
|
+
title: Schema for secondary_mirror_incidence_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
|
+
developer_note: To be replaced by a data table
|
|
9
|
+
name: secondary_mirror_incidence_angle
|
|
10
|
+
description: |-
|
|
11
|
+
Distribution of incidence angle on the SST secondary mirror.
|
|
12
|
+
data:
|
|
13
|
+
- type: file
|
|
14
|
+
unit: dimensionless
|
|
15
|
+
default: 'no_such_file.dat'
|
|
16
|
+
instrument:
|
|
17
|
+
class: Structure
|
|
18
|
+
type:
|
|
19
|
+
- SSTS
|
|
20
|
+
- SCTS
|
|
21
|
+
activity:
|
|
22
|
+
setting:
|
|
23
|
+
- SetParameterFromExternal
|
|
24
|
+
validation:
|
|
25
|
+
- ValidateParameterByExpert
|
|
26
|
+
source:
|
|
27
|
+
- SimPipe Derived
|
|
28
|
+
simulation_software:
|
|
29
|
+
- name: simtools
|