Skip to content

Commit

Permalink
Add trigger info in collect_features
Browse files Browse the repository at this point in the history
  • Loading branch information
maxnoe committed Apr 18, 2023
1 parent 07c9cfe commit e02d497
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ctapipe/reco/preprocessing.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,8 @@ def collect_features(
"""
features = {}

features.update(event.trigger.as_dict(recursive=False, flatten=True))

features.update(
event.dl1.tel[tel_id].parameters.as_dict(
add_prefix=True,
Expand Down

0 comments on commit e02d497

Please sign in to comment.