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

DL1 scaling #435

Merged
merged 8 commits into from
Jun 19, 2020
Merged

DL1 scaling #435

merged 8 commits into from
Jun 19, 2020

Conversation

vuillaut
Copy link
Member

resolves #433

@codecov
Copy link

codecov bot commented Jun 18, 2020

Codecov Report

Merging #435 into master will increase coverage by 0.17%.
The diff coverage is 95.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #435      +/-   ##
==========================================
+ Coverage   41.56%   41.74%   +0.17%     
==========================================
  Files          76       77       +1     
  Lines        6192     6212      +20     
==========================================
+ Hits         2574     2593      +19     
- Misses       3618     3619       +1     
Impacted Files Coverage Δ
lstchain/reco/r0_to_dl1.py 64.48% <80.00%> (+0.27%) ⬆️
lstchain/reco/tests/test_r0_to_dl1.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 82c294c...0699d0c. Read the comment docs.

@moralejo
Copy link
Collaborator

Thanks!
Just for clarity, I would rename mc_dl1_scaling_factor to "mc_dl1a_scaling_factor" or "mc_light_scaling_factor"

@maxnoe
Copy link
Member

maxnoe commented Jun 18, 2020

Just for clarity, I would rename mc_dl1_scaling_factor to "mc_dl1a_scaling_factor" or "mc_light_scaling_factor"

It's applied only to dl1.image, so why not mc_image_scaling?

@vuillaut
Copy link
Member Author

image seemed more appropriate, I made the change.

@vuillaut
Copy link
Member Author

Note: with ctapipe v0.8 this correction can be done with the relative_factor in the DL1 Calibration Container.

@vuillaut vuillaut merged commit c29a12d into cta-observatory:master Jun 19, 2020
@vuillaut vuillaut deleted the dl1_scaling branch June 19, 2020 13:26
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.

scaling MC intensity
3 participants