From a26b756dd3b5030cb9c2ac02ce19e1242c1725a8 Mon Sep 17 00:00:00 2001 From: Jonas Hackfeld Date: Fri, 17 Jan 2025 12:56:16 +0100 Subject: [PATCH] Adding true_image_sum in hdf5eventsource --- src/ctapipe/io/hdf5eventsource.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ctapipe/io/hdf5eventsource.py b/src/ctapipe/io/hdf5eventsource.py index d18f7db436f..8e8cb3ad6b8 100644 --- a/src/ctapipe/io/hdf5eventsource.py +++ b/src/ctapipe/io/hdf5eventsource.py @@ -708,6 +708,7 @@ def _generator(self): if self.has_simulated_dl1: simulated_image_row = next(simulated_image_iterators[key]) simulated.true_image = simulated_image_row["true_image"] + simulated.true_image_sum = simulated_image_row["true_image_sum"] if DataLevel.DL1_PARAMETERS in self.datalevels: # Is there a smarter way to unpack this?