Fill PointingContainer
In ctapipe v0.8, the TelescopePointingContainer
was replaced by PointingContainer
. PointingContainer
contains a TelescopePointingContainer
instance, plus other members, see https://github.com/cta-observatory/ctapipe/blob/v0.8.0/ctapipe/containers.py#L654 and beyond.
Currently, the MAGIC reader defines pointing
as a TelescopePointingContainer
(e.g. https://gitlab.mpcdf.mpg.de/ievo/ctapipe_io_magic/-/blob/master/ctapipe_io_magic/__init__.py#L381), so it fills only part of what should be the final container. Therefore, pointing
should be defined as a PointingContainer
and filled accordingly. Also, the array_altitude
and array_azimuth
members are needed later to be passed to the function calculating stereo parameters.