Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Notebook for sensitivity calculation #1158

Merged
merged 10 commits into from
Nov 30, 2023
Merged

Notebook for sensitivity calculation #1158

merged 10 commits into from
Nov 30, 2023

Conversation

moralejo
Copy link
Collaborator

@moralejo moralejo commented Sep 8, 2023

Calculates sensitivity from a Crab observation (for source-independent and source-dependent analysis)
This was used for the LST-1 performance paper - it was one of the two independent codes with which the sensitivities were computed.

the LST1 performance paper (this notebook was used for the cross-check
of the published sensitivities)
@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@moralejo moralejo requested a review from rlopezcoto September 8, 2023 15:58
@moralejo
Copy link
Collaborator Author

moralejo commented Sep 8, 2023

In case it helps, here is the output as a pdf:

calculate_sensitivity_from_Crab.pdf

@moralejo moralejo marked this pull request as ready for review September 8, 2023 16:20
@codecov
Copy link

codecov bot commented Sep 12, 2023

Codecov Report

Attention: 21 lines in your changes are missing coverage. Please review.

Comparison is base (644e43b) 73.96% compared to head (9484b0f) 73.84%.
Report is 3 commits behind head on main.

Files Patch % Lines
lstchain/scripts/lstchain_dl2_add_sourcepos.py 43.24% 21 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1158      +/-   ##
==========================================
- Coverage   73.96%   73.84%   -0.13%     
==========================================
  Files         125      126       +1     
  Lines       12784    12847      +63     
==========================================
+ Hits         9456     9487      +31     
- Misses       3328     3360      +32     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@moralejo moralejo requested review from rlopezcoto and removed request for rlopezcoto September 27, 2023 07:29
@moralejo moralejo marked this pull request as draft November 10, 2023 08:30
@moralejo moralejo marked this pull request as ready for review November 10, 2023 08:46
@moralejo
Copy link
Collaborator Author

@rlopezcoto @maxnoe @morcuended , any idea why tests fail in test_create_drs4_pedestal_file?

@morcuended
Copy link
Member

@rlopezcoto @maxnoe @morcuended , any idea why tests fail in test_create_drs4_pedestal_file?

I think it's due to the new ctapipe_io_lst release v0.22.2, which is now being installed by the CI. The same happens in #1177

@moralejo moralejo requested a review from rlopezcoto November 24, 2023 13:09
@rlopezcoto rlopezcoto merged commit 9f8627a into main Nov 30, 2023
7 of 9 checks passed
@rlopezcoto rlopezcoto deleted the sensitivity_calculation branch November 30, 2023 11:10
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.

3 participants