Skip to content

Commit

Permalink
Adding true_image_sum in hdf5eventsource
Browse files Browse the repository at this point in the history
  • Loading branch information
Hckjs authored and maxnoe committed Jan 21, 2025
1 parent 708dbfc commit 1e4357b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ctapipe/io/hdf5eventsource.py
Original file line number Diff line number Diff line change
Expand Up @@ -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?
Expand Down

0 comments on commit 1e4357b

Please sign in to comment.