simtools-validate-pulse-response#
Plot peak, ADC sum and width versus illumination from model pulse tables.
Measure configured high- and low-gain pulse tables versus illumination in p.e. The PDF contains peak ADC, full-window ADC sum, width, and waveform panels; ECSV files contain individual measurements and summary values. A clipped-linear control uses the same model gain and digitizer limit. If the model provides only single-photoelectron pulse shapes, the output contains clipped-linear curves only; intensity-dependent curves require response templates in the model.
The calculation samples the input tables at the model FADC interval. Non-linear
amplitudes already encode the complete response. Interpolation is linear in the
input tables; it does not reproduce internal sim_telarray resampling or noise.
At the first response-table intensity, the analysis uses the tabulated response;
sim_telarray uses the linear response at that exact threshold.
The single_pe pulse is peak-normalized before transit-time-jitter smearing.
The intensity_dependent tables contain complete waveforms that already include
jitter, so they are not jittered again.
Widths use 95% of the peak by default. Set an absolute ADC threshold to measure time-over-threshold instead. A missing threshold crossing produces a truncation flag and an undefined width. ADC sums retain negative pulse tails.
Command line arguments#
options#
- –help
show this help message and exit
- –illumination
Illumination levels in photoelectrons
Required.
- –width_fraction
Fraction of pulse peak defining its width
Default: 0.95.
- –threshold_adc
Absolute width threshold above pedestal, overriding the fraction
simulation model#
- –model_version
Simulation production model version(s). Use –show_options model_version.
- –site
Observatory site (e.g., North, South). Use –show_options site.
- –telescope
telescope model name (e.g., LSTN-01, SSTS-design, …)
- –overwrite_model_parameters
JSON string with model parameters to overwrite
model repository#
- –simulation_models_path
Path containing the simulation-model repository to read.
- –simulation_models_git_path
Path to a local normal, bare, or mirror Git repository containing simulation models.
- –simulation_models_git_revision
Git tag, ref, or commit to read from the simulation-model repository.
application#
- –show_options
Print available values for a supported option and exit.
Workflow#
Run the configurations under tests/integration_tests/config/ with
simtools-run-application --config_file <workflow.yml> --replace __OUTPUT__=<directory>.
The direct-injection and full-simulation configurations run the existing flasher
application followed by the analyzer. Use more events and intensity levels for
statistical studies. Synthetic response tables test software behavior; comparison
with measured curves requires measured tables and matching camera settings.
LST pulse response curves#
Measure HG and LG pulse responses across illumination levels.
Application: simtools-validate-pulse-response
Integration test: validate_pulse_response.yml
Command
simtools-validate-pulse-response --config tests/integration_tests/config/validate_pulse_response.yml
Configuration
model_version: 8.0.0
site: North
telescope: LSTN-01
illumination:
- 10
- 100
- 150
- 500
- 1000
- 2000
- 3000
- 10000
- 20000
output_path: __OUTPUT__