Skip to content

Add unbinned interface - #635

Draft
nlopez-code wants to merge 2 commits into
cositools:developfrom
nlopez-code:add-unbinned-interface
Draft

Add unbinned interface#635
nlopez-code wants to merge 2 commits into
cositools:developfrom
nlopez-code:add-unbinned-interface

Conversation

@nlopez-code

Copy link
Copy Markdown
Contributor

First iteration of the unbinned image interface that supports one user-supplied energy bin

nlopez-code and others added 2 commits July 9, 2026 14:54
Adds UnbinnedImageDataInterface (single incident-energy bin) to
cosipy.interfaces, plus the BinnedBackgroundRates container it uses
for per-event background densities.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@israelmcmc
israelmcmc marked this pull request as draft July 10, 2026 15:22
@codecov

codecov Bot commented Jul 10, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 7.84983% with 270 lines in your changes missing coverage. Please review.
✅ Project coverage is 75.97%. Comparing base (6d5dc69) to head (e35361c).

Files with missing lines Patch % Lines
cosipy/interfaces/unbinned_image_data_interface.py 0.00% 264 Missing ⚠️
...y/background_estimation/binned_background_rates.py 60.00% 6 Missing ⚠️
Files with missing lines Coverage Δ
cosipy/background_estimation/__init__.py 100.00% <100.00%> (ø)
...age_deconvolution/algorithms/MAP_RichardsonLucy.py 96.29% <100.00%> (ø)
...deconvolution/algorithms/RichardsonLucyAdvanced.py 94.95% <100.00%> (ø)
...algorithms/accelerators/line_search_accelerator.py 98.93% <100.00%> (ø)
...on/algorithms/accelerators/max_step_accelerator.py 100.00% <100.00%> (ø)
...e_deconvolution/data_interfaces/dataIF_COSI_DC2.py 91.96% <100.00%> (ø)
...e_deconvolution/data_interfaces/dataIF_Parallel.py 16.48% <100.00%> (ø)
...ution/data_interfaces/data_interface_collection.py 85.96% <100.00%> (ø)
...erfaces/image_deconvolution_data_interface_base.py 97.95% <100.00%> (ø)
...y/background_estimation/binned_background_rates.py 60.00% <60.00%> (ø)
... and 1 more
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

1 participant