Skip to content

Add sensitivity calculator tutorials for DC4#507

Open
GallegoSav wants to merge 12 commits intocositools:developfrom
GallegoSav:Add_SensitivityCalculator
Open

Add sensitivity calculator tutorials for DC4#507
GallegoSav wants to merge 12 commits intocositools:developfrom
GallegoSav:Add_SensitivityCalculator

Conversation

@GallegoSav
Copy link
Contributor

@GallegoSav GallegoSav commented Mar 11, 2026

I created 2 tutorials for making sensitivity estimation based on the full LH analysis. One is for an extended source and the other for a point source. In theory people could also try model which combined both type of sources.

This pr require my astromodel pr to be merged for using ExtendedSource_sensitivity.ipynb though.

@GallegoSav GallegoSav added the Feature / Enhancement New functionality or improvement label Mar 11, 2026
@GallegoSav GallegoSav added this to the v4.0 - DC4 milestone Mar 11, 2026
@codecov
Copy link

codecov bot commented Mar 11, 2026

Codecov Report

❌ Patch coverage is 82.75862% with 5 lines in your changes missing coverage. Please review.
✅ Project coverage is 71.22%. Comparing base (6765236) to head (61cedf8).

Files with missing lines Patch % Lines
cosipy/threeml/custom_functions.py 82.75% 5 Missing ⚠️
Files with missing lines Coverage Δ
cosipy/threeml/custom_functions.py 85.18% <82.75%> (-0.53%) ⬇️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@israelmcmc
Copy link
Collaborator

Thanks @GallegoSav.

I know I still need to review #247, but even after I merged it it'll take some time before it's released. I'm thinking it would be better to copy-paste SpatialTemplate_2D_Healpix to cosipy for now, and make an issue reminding us to use the one in astromodels once it's released.

Add SpatialTemplate_2D_Healpix class for 2D spatial templates using HealpixMap.
@GallegoSav
Copy link
Contributor Author

@israelmcmc Good point, I added the class in cosipy and created the issue #510 .

@israelmcmc
Copy link
Collaborator

Thanks @GallegoSav!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Feature / Enhancement New functionality or improvement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants