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

Dqm update - using standard ctapipe tools #154

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

hashkar
Copy link
Collaborator

@hashkar hashkar commented Oct 7, 2024

When using --method GlobalPeakWindowSum --extractor_kwargs '{"window_width":16,"window_shift":4}'
In chargeIntegration:
Line 108 - 117
The way Broken Pixles is computed does not hide the 21 pixels hidden by the camera shutter. In the display the values are still there.
Alternatively using self.pixelBAD = evt.mon.tel[0].pixel_status.hardware_failing_pixels breaks the code at line 129 or 139

Copy link

codecov bot commented Oct 14, 2024

Codecov Report

Attention: Patch coverage is 28.00000% with 54 lines in your changes missing coverage. Please review.

Project coverage is 49.19%. Comparing base (b306f30) to head (215e9d9).
Report is 28 commits behind head on main.

Files with missing lines Patch % Lines
src/nectarchain/dqm/charge_integration.py 28.30% 38 Missing ⚠️
src/nectarchain/dqm/start_dqm.py 0.00% 16 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #154      +/-   ##
==========================================
+ Coverage   40.76%   49.19%   +8.42%     
==========================================
  Files          65       64       -1     
  Lines        4452     4590     +138     
==========================================
+ Hits         1815     2258     +443     
+ Misses       2637     2332     -305     

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

 Please enter the commit message for your changes. Lines starting
@jlenain
Copy link
Collaborator

jlenain commented Oct 15, 2024

Hi @hashkar !

Thanks for this PR. The fact that codecov fails is not so worrisome. The other tests pass now.

On the issue you raised in your first comment concerning runs with missing pixels, could you elaborate a bit what is failing where?

When @guillaumegrolleron implemented the charge extractors layer in nectarchain, this was handled gracefully and transparently without having to hardcode any masked pixel pattern.

@hashkar
Copy link
Collaborator Author

hashkar commented Oct 15, 2024

@jlenain issues of the first comment are fixed now

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