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

Add function for getting effective dose coefficients from ICRP-116 #1558

Merged
merged 4 commits into from
May 26, 2020

Conversation

paulromano
Copy link
Contributor

Pretty simple addition here based on a user request -- this PR adds a openmc.data.dose_coefficients function which provides effective dose coefficients from ICRP-116. The data tables were pulled directly from supplemental material distributed with the article itself. The new functionality reads in the data from those tables and provides an interface to access them. To actually use these in a tally, one would have to supply the returned energy/dose values to an EnergyFunctionFilter.

Copy link
Contributor

@pshriwise pshriwise left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pretty simple and clean addition of the ICRP dose coefficients. As you said, these should be easy to hand off to an EnergyFunctionFilter Thanks @paulromano!

A line comments and a couple questions.

openmc/data/effective_dose/dose.py Outdated Show resolved Hide resolved
openmc/data/effective_dose/electrons.txt Show resolved Hide resolved
tests/unit_tests/test_data_dose.py Show resolved Hide resolved
openmc/data/effective_dose/photons_kerma.txt Show resolved Hide resolved
openmc/data/effective_dose/dose.py Outdated Show resolved Hide resolved
openmc/data/effective_dose/dose.py Outdated Show resolved Hide resolved
openmc/data/effective_dose/dose.py Outdated Show resolved Hide resolved
openmc/data/effective_dose/dose.py Outdated Show resolved Hide resolved
openmc/data/effective_dose/dose.py Outdated Show resolved Hide resolved
Copy link
Contributor

@pshriwise pshriwise left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @paulromano! Will merge on ✔️

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.

2 participants