Skip to content

Processing gain-selected dl1 data with the pixel stats tool#2715

Merged
maxnoe merged 3 commits into
mainfrom
stats_tool_shape_bugfix
Mar 17, 2025
Merged

Processing gain-selected dl1 data with the pixel stats tool#2715
maxnoe merged 3 commits into
mainfrom
stats_tool_shape_bugfix

Conversation

@TjarkMiener
Copy link
Copy Markdown
Member

We noticed that we can not process gain-selected data. This PR is a bug fix for processing gain-selected dl1 data with the pixel stats tool and its components. I extended the unit tests accordingly. Before the unit tests were passing since we did not include the detection of outliers in the pixel tool testing.

@TjarkMiener TjarkMiener requested review from maxnoe and mexanick March 17, 2025 13:24
@TjarkMiener TjarkMiener self-assigned this Mar 17, 2025
Comment thread src/ctapipe/tools/calculate_pixel_stats.py Outdated
Comment thread src/ctapipe/tools/tests/test_calculate_pixel_stats.py Outdated
remove redundant check that the column is not None in unit test
@TjarkMiener TjarkMiener requested a review from maxnoe March 17, 2025 13:54
@ctao-dpps-sonarqube
Copy link
Copy Markdown

Passed

Analysis Details

1 Issue

  • Bug 0 Bugs
  • Vulnerability 0 Vulnerabilities
  • Code Smell 1 Code Smell

Coverage and Duplications

  • Coverage 100.00% Coverage (94.20% Estimated after merge)
  • Duplications 0.00% Duplicated Code (0.70% Estimated after merge)

Project ID: cta-observatory_ctapipe_AY52EYhuvuGcMFidNyUs

View in SonarQube

@maxnoe maxnoe merged commit e5999e2 into main Mar 17, 2025
@maxnoe maxnoe deleted the stats_tool_shape_bugfix branch March 19, 2025 10:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants