-
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
add class to compute statistics on the fly #75
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## master #75 +/- ##
=========================================
+ Coverage 3.08% 5.61% +2.53%
=========================================
Files 36 37 +1
Lines 3571 3667 +96
=========================================
+ Hits 110 206 +96
Misses 3461 3461
☔ View full report in Codecov by Sentry. |
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.
Hi @vmarandon ,
Thanks a lot for this! I have one nitpicking request: instead of hardcoding the expected signal shape (number of channels, pixels, time stamps), I would suggest to rely on a single place for it, through ctapipe_io_nectarcam
(I use to make the same comment in past PRs).
…ples) to use the one from ctapipe_io_nectarcam.constants.py
Class to compute statistics on the fly using the Welford's algorithm (mean, variance, min, max).