Skip to content

Patch to allow calibration of un-calibrated 36-samples EvB data#243

Draft
moralejo wants to merge 2 commits intomainfrom
EvB_36_samples
Draft

Patch to allow calibration of un-calibrated 36-samples EvB data#243
moralejo wants to merge 2 commits intomainfrom
EvB_36_samples

Conversation

@moralejo
Copy link
Copy Markdown
Contributor

This just converts the waveforms to 40 samples before the calibration.
(R1, as usual, is later clipped back to 36)

Note, we hardly have any data (~30') taken like that... it is arguable whether this patch needs to be merged!
Just leave it here in case it is needed.

@codecov
Copy link
Copy Markdown

codecov bot commented Jun 19, 2025

Codecov Report

❌ Patch coverage is 66.66667% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 90.96%. Comparing base (d6964b1) to head (3270704).
⚠️ Report is 31 commits behind head on main.

Files with missing lines Patch % Lines
src/ctapipe_io_lst/__init__.py 66.66% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #243      +/-   ##
==========================================
- Coverage   91.05%   90.96%   -0.09%     
==========================================
  Files          25       25              
  Lines        2693     2702       +9     
==========================================
+ Hits         2452     2458       +6     
- Misses        241      244       +3     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

if self.data_stream is not None:
for c, fill_value in zip((array_event.r0, array_event.r1),
(self.data_stream.waveform_offset, 0)):
for tel_c in c.tel.values():
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

loop twice over the same thing here?

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