-
Notifications
You must be signed in to change notification settings - Fork 272
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Store event times using CTAO high resolution timestamps #2707
base: main
Are you sure you want to change the base?
Conversation
1bf90b3
to
27718a1
Compare
27718a1
to
5d0eb1a
Compare
This comment has been minimized.
This comment has been minimized.
Analysis Details1 IssueCoverage and DuplicationsProject ID: cta-observatory_ctapipe_AY52EYhuvuGcMFidNyUs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I checked on running this version on a couple of simtel files, and indeed now instead of having 0ns time-difference between telescopes of an event (due to previous precision loss), I get a couple of tens of ns, as expected.
So, all good for me, thanks!
for t in times: | ||
writer.write("events", SomeContainer(time=t)) | ||
|
||
# check that we get a length-3 array when reading back |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this comment accurate? I don't see anything like a length check happening here.
Fixes #2428