Skip to content

Commit

Permalink
add the event type to the meta data
Browse files Browse the repository at this point in the history
remove the input url since it is irrelevant
  • Loading branch information
Tjark Miener committed Dec 19, 2024
1 parent d3d3304 commit b6587ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ctapipe/tools/calculate_pixel_stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ def start(self):
tel_id,
)
# Add metadata to the aggregated statistics
aggregated_stats.meta["input_url"] = self.input_data.input_url
aggregated_stats.meta["event_type"] = dl1_table["event_type"][0]
aggregated_stats.meta["input_column_name"] = self.input_column_name
# Write the aggregated statistics and their outlier mask to the output file
write_table(
Expand Down

0 comments on commit b6587ec

Please sign in to comment.