-
Notifications
You must be signed in to change notification settings - Fork 18
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
DL1 EventSource for ctapipe #55
base: master
Are you sure you want to change the base?
Conversation
I did not include unit test as there is no test file in the package right now. |
Hi @vuillaut. Thanks so much for this PR! Did you try to convert |
I tried in the meantime and you are right, it fails. |
Or we use ctapipe master (but I'd not recommend, it's moving fast right now with major refactoring). |
Then my personal opinion would be to wait for the next ctapipe release, since there are more urgent things to tend to right now... |
Then this is ready for review I suppose :) |
…g for ctapipe event_source
Ok sorry for the multiple commits and merge.
I added the tests function but kept them commented as long as we don't have a test file. |
…e just the minimum in the pluging module might be better
Anyone for a review? |
In my to do list, hope to have time in the coming days... If very urgent, we can perhaps try to find someone else. Sorry! |
No it's fine, I am using it from my branch so no pressure. |
Hi
I finally took the time to implement the DL1 EventSource for ctapipe.
I tested versus a simtel file that I converted into DL1.
When opened with ctapipe, both files give the same info.
With one exception: because we now merge the gains, we have only one channel for the charge and peakpos for all cameras.
Usage:
I also created a separate module called
ctapipe_io_dl1dh
.This allow ctapipe to automatically recognize it as a plugin once it is installed and thus allow for an even more simple and generic:
I added the tests function but kept them commented as long as we don't have a test file.
At least you can use them to test and review ;-)