-
Notifications
You must be signed in to change notification settings - Fork 77
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
Operators are different in apply_energy_dependent_gh_cuts
and apply_global_gh_cut
#954
Comments
Hi @aaguasca , could you please point to the lines of code you are referring to? |
Probably a question for @chaimain. I don't think there is any reason. Although gammaness is a rather continuous parameter, and it should make basically no difference, it is better to do it consistently in both places. |
Link to
Link to cta-lstchain/lstchain/io/event_selection.py Line 131 in b1f83fa
|
I'd also say there is no real reason and there shouldn't be any consequences, since it is very unlikely that a float lies exactly on the cut. So just change to make it consistent, but don't expect any changes in the results. |
Solved in #965 |
Dear developers, the operator in
apply_energy_dependent_gh_cuts
is >=, while inapply_global_gh_cut
is >. Could you please explain to me why different operators are used? Thanks.The text was updated successfully, but these errors were encountered: