Skip to content
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 an automatic detection of the number of stream #67

Merged
merged 7 commits into from
Jan 30, 2025

Conversation

vmarandon
Copy link
Contributor

The detection of the number of stream is done by opening a file, then get the median of difference between event ids.
I use multiple event in case there is an issue or a missing event.

@vmarandon vmarandon requested a review from jlenain January 29, 2025 16:13
@vmarandon vmarandon self-assigned this Jan 29, 2025
Copy link

codecov bot commented Jan 29, 2025

Codecov Report

Attention: Patch coverage is 77.77778% with 4 lines in your changes missing coverage. Please review.

Project coverage is 85.43%. Comparing base (cb5646d) to head (31f990f).
Report is 20 commits behind head on main.

Files with missing lines Patch % Lines
src/ctapipe_io_nectarcam/__init__.py 77.77% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #67      +/-   ##
==========================================
- Coverage   85.60%   85.43%   -0.17%     
==========================================
  Files           7        7              
  Lines         917      934      +17     
==========================================
+ Hits          785      798      +13     
- Misses        132      136       +4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jlenain jlenain merged commit af4d667 into cta-observatory:main Jan 30, 2025
4 of 6 checks passed
@jlenain jlenain deleted the guess_stream_number branch January 30, 2025 15:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants