-
Notifications
You must be signed in to change notification settings - Fork 13
Refactor SimTelFile
to allow iterating over all events based
#298
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
base: main
Are you sure you want to change the base?
Conversation
310c8c4
to
48d7ca7
Compare
7318873
to
1784b4e
Compare
Improve performance by removing the need to "peek" to the next object before parsing it by putting event building logic directly into `_parse_next_low_level`.
In the changes in 3e67777 I managed to remove most of the performance overhead the initial changes of this branch introduced. |
SimTelFile
to allow iterating over all events based
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.
Change look good, thanks! I had just one small comment on a test.
Also, I did not go over the assumed eventio structure in detail. If you would like me to do so, please let me know.
I will approve once both of these points are cleared up.
And here are the corresponding changes needed in ctapipe to support iterating over also the non-triggered events: |
In case it was lost before: If you don't need me to look in detail at the assumed eventio structure, I can approve already. |
Continuation of #214, due to the large changes in rebase, I didn't want to force-push over that branch but leave it for reference.