-
Notifications
You must be signed in to change notification settings - Fork 1
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
Keep interactions even if outside NEST validity #241
Conversation
Instead of removing the interaction, keep it and just give the warning
for more information, see https://pre-commit.ci
Pull Request Test Coverage Report for Build 9484437464Details
💛 - Coveralls |
Pull Request Test Coverage Report for Build 9484444416Details
💛 - Coveralls |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, @cfuselli I agree: Just removing these energy deposits is dangerous and will harm us more than having a questionable yield model. I would propose merging this PR with the other high-energy-focused PRs.
Ohh and one more thing: Can you bump the plugin version? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Forgot to approve this after discussing with Carlo 😆 Thanks, Henning!
Pull Request Test Coverage Report for Build 9647500637Details
💛 - Coveralls |
Pull Request Test Coverage Report for Build 9694111370Details
💛 - Coveralls |
Pull Request Test Coverage Report for Build 9694124065Details
💛 - Coveralls |
Instead of removing the interaction, keep it and just give the warning.
I find the "Remove interaction" much more dangerous than using a yield model that is not completely validated by data from NEST. The function can return values also for energies much above the validity range, and seems to give reasonable results.
Instead, removing interactions can result into tricky results if the analyst is not fully aware of the possibility.
Here attached the model validity and the results of nc.GetYields() for energy ranges outside the validity ( 3MeV for gamma and beta, 200keV for NR).
Just to make it extra clear:
The functions that define the yields model come from here in NEST.