Skip to content

Commit

Permalink
Missing event_type key
Browse files Browse the repository at this point in the history
  • Loading branch information
moralejo authored May 13, 2024
1 parent 23618a2 commit 53dff7e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lstchain/reco/tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,8 @@ def test_get_obstime_real():
# now test with a QTable:
a = delta_t[recorded_events][cut] * u.s
b = timestamps[recorded_events][cut] * u.s
events = QTable([a, b], names=("delta_t", "dragon_time"))
c = sorted_event_types[recorded_events][cut]
events = QTable([a, b, c], names=("delta_t", "dragon_time", "event_type"))
t_eff, t_elapsed = utils.get_effective_time(events)
print(t_obs, t_elapsed, true_t_eff, t_eff)
# test accuracy to 0.05%:
Expand Down

0 comments on commit 53dff7e

Please sign in to comment.