Skip to content

Conversation

@mnoergaard
Copy link
Collaborator

This PR addresses issue #202 by updating the PET reference mask thresholding to a robust threshold.

  1. use a robust percentile-based threshold when smoothing and binarizing the PET reference for mask generation
  2. align the PET brain mask workflow inputs with the robust thresholding used in HMC workflows
  3. update the PET mask unit test to exercise the percentile-based behavior

@codecov
Copy link

codecov bot commented Dec 18, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 81.38%. Comparing base (3ea02b4) to head (02891ce).
⚠️ Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #204      +/-   ##
==========================================
+ Coverage   81.27%   81.38%   +0.11%     
==========================================
  Files          84       84              
  Lines        7102     7139      +37     
  Branches      721      723       +2     
==========================================
+ Hits         5772     5810      +38     
  Misses       1144     1144              
+ Partials      186      185       -1     

☔ 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.

@mnoergaard mnoergaard merged commit 0c37dd9 into main Dec 18, 2025
21 checks passed
@mnoergaard mnoergaard deleted the update-pet-mask-workflow-threshold-method branch December 18, 2025 11:49
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