generate_array_config

generate_array_config#

Generate sim_telarray configuration files for a given array.

The applications generates the sim_telarray configuration files for a given array, site, and model_version using the model parameters stored in the database.

To change model parameters, clone the model parameters repository and apply the changes. Forward the path to the repository to the application using the --db_simulation_model_url argument.

Command line arguments#

sitestr

Site name (e.g., North, South).

array_layout_namestr

Name of the layout array (e.g., test_layout, alpha, 4mst, etc.).

array_element_listlist

List of array elements (e.g., telescopes) to plot (e.g., LSTN-01 LSTN-02 MSTN).

Example#

North - 5.0.0:

simtools-generate-array-config --site North --array_layout_name alpha --model_version 5.0.0

The output is saved in simtools-output/test/model.

generate_array_config.main()[source]#

Generate sim_telarray configuration files for a given array.