-
Notifications
You must be signed in to change notification settings - Fork 274
Add DL0 telescope event type, add missing types #2769
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
Analysis Details0 IssuesCoverage and DuplicationsProject ID: cta-observatory_ctapipe_AY52EYhuvuGcMFidNyUs |
Side note: the data model has event_type as a telescope-event level quantity, there is actually no concept of an event type for subarray events. I think this is still useful, but at least we need to add the event type at the telescope level here. (#2094) |
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.
Looks fine to me (though I haven't tried testing it), and nice to see it implemented for use downstream, thanks!
Minor comment/question (not to do with the issue at hand): why does there need to be a special event type for |
That was requested by NectarCam in fact, but the idea of having it as a type is just to be able to keep statistics and monitor the rate of those events without having to read all the event data. It also may be that these long events are stored in a separate file (which is how we handle different calibration event types as well), which is more efficient since no variable-length arrays are needed. So if we also have some sort of "short" event that is random (not for the full run), we could consider generalizing this, or adding a type. |
Aha, thanks, I understand. So, the idea is for interspersed long events. For a possible ReducedWindow run, I guess it would be with the standard event type, as long as the data handler can cope downstream with the window being different from the "usual" (though since the cameras for the different telescope sizes have different readout windows anyway, I expect that should be okay). |
The |
Marking as draft for now, I will prepare a change request to the R1 model so that the additional types we define here are actually defined in the model and we don't risk that they are defined in an incompatible way in the future.
Also fixes #2094