gammasim / simtools

Tools and applications for the Simulation System of the CTA Observatory.
https://gammasim.github.io/simtools
BSD 3-Clause "New" or "Revised" License
9 stars 1 forks source link

Replace ArrayLayout by ArrayModel for retrieving telescope positions in light emission package #950

Closed GernotMaier closed 1 month ago

GernotMaier commented 1 month ago

The ArrayLayout model is used primarily for coordinate transformations and should not be used to read telescope positions from a file. Replace ArrayModel therefore in the light emission package by ArrayModel.

ArrayModel has the additional functionality of reading telescope positions from the database.

(also removed an unused fixed in one of the tests related to the array_layout module)