Skip to content

Implement support for chunked median with return_type='numpy' in reproject_and_coadd - #622

Merged
astrofrog merged 2 commits into
astropy:mainfrom
astrofrog:coadd-numpy-median
Jul 7, 2026
Merged

Implement support for chunked median with return_type='numpy' in reproject_and_coadd#622
astrofrog merged 2 commits into
astropy:mainfrom
astrofrog:coadd-numpy-median

Conversation

@astrofrog

Copy link
Copy Markdown
Member

This uses a similar chunked approach to #336 but had to be re-written from scratch due to extensive changes in reproject_and_coadd

astrofrog added 2 commits July 6, 2026 22:39
…ng the reprojected arrays as match_background does and combining them chunk by chunk with the same per-chunk logic as the deferred path, which also makes the median composable with match_background
… region into an _overlap_slices helper shared by the deferred column assembly and the numpy median combine, which each duplicated the same slice arithmetic
@codecov

codecov Bot commented Jul 6, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 93.75000% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 90.30%. Comparing base (308892f) to head (4f07057).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
reproject/mosaicking/_coadd.py 93.75% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #622      +/-   ##
==========================================
- Coverage   90.34%   90.30%   -0.05%     
==========================================
  Files          51       51              
  Lines        2362     2382      +20     
==========================================
+ Hits         2134     2151      +17     
- Misses        228      231       +3     

☔ View full report in Codecov by Harness.
📢 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.

@astrofrog
astrofrog merged commit c19b20a into astropy:main Jul 7, 2026
27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant