-
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
Use eventio v0.17.1 #966
Use eventio v0.17.1 #966
Conversation
dneise
commented
Feb 12, 2019
•
edited by maxnoe
Loading
edited by maxnoe
- Can read more kinds of simtel files (e.g. where multiple runs got merged)
- Can read calibration events
This needs the not yet released version 0.17.0 of pyeventio and 0.2.17 of ctapipe-extra with the calibration events test file. |
eventio 0.17.0 is now released, waiting for a new release of ctapipe-extra |
|
Codecov Report
@@ Coverage Diff @@
## master #966 +/- ##
==========================================
+ Coverage 77.74% 77.88% +0.13%
==========================================
Files 191 189 -2
Lines 10831 10816 -15
==========================================
+ Hits 8421 8424 +3
+ Misses 2410 2392 -18
Continue to review full report at Codecov.
|
Nice ! |
setup.py
Outdated
@@ -65,7 +65,7 @@ | |||
'pandas', | |||
'bokeh>=1.0.1', | |||
'scikit-learn', | |||
'eventio==0.11.0', | |||
'eventio==0.17.0', |
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.
should this be 0.17.1?
@@ -428,6 +428,7 @@ class TelescopePointingContainer(Container): | |||
class DataContainer(Container): | |||
""" Top-level container for all event information """ | |||
|
|||
event_type = Field('data', "Event type") |
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.
what are the options here? Is it data vs calibration event? Or is it observed vs simulated event?
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.
Ah that's indeed a good question, maybe this PR makes sense in this context.
#978
By defining an enum.Enum
or enum.IntEnum
the choices are somehow obvious...
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.
For now, data and calibration can come from eventio. But I was not really pleased with that choice. Physics and specific calibration names would be better I think. I will change that in eventio once we agree on the names.
Setup.py is fixed, @cta-observatory/ctapipe-core-devs please review again |
@maxnoe this PR was opened by me, so you could review already .. :-D |
Ah, right. |