-
Notifications
You must be signed in to change notification settings - Fork 266
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
Error in optical efficiency from muon ring? #1377
Comments
The code does not directly implement these formulas and no reference is given what exactly was implemented here. So I am at a loss. The formula you mention has no wavelength but an energy dependence and contains a factor of |
I think we should make sure the code is as close as possible to the paper you linked. |
Yes, it is not straightforward, but I could not access other references where things are closer to the approach implemented in ctapipe, just because they are behind paywalls for me now (working @ home). |
Ah, of course. Checking with the older code, it seems like this factor of 2 was indeed lost. I would propose to just readd it for now but also try to move to a more straight forward implementation of this or another suitable reference and clearly link to that in the code. |
Hi, here is a more clear reference: https://arxiv.org/pdf/1403.4550.pdf |
ctapipe/ctapipe/image/muon/intensity_fitter.py
Line 258 in 262b6aa
I think there is a factor 0.5 missing here. the factor comes from sin^2(theta)/tan(theta) = 0.5 sin(2*theta), see e.g. eq (7) of https://arxiv.org/abs/1907.04375
The factor was there in previous versions of this code.
This produces an underestimation of the telescope efficiency by the same factor.
The text was updated successfully, but these errors were encountered: