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 radiation exposure #1348

Merged
merged 5 commits into from
Jan 2, 2024

Conversation

piotrstenke
Copy link
Contributor

Added radiation exposure along with two units - Coulomb per kilogram (SI-based) and Roentgen.

Coulombs per kilogram come with four prefixes (pico, nano, micro and milli), which is two less (with kilo and mega missing) than the definition of Coulomb itself in ElectricCharge.json. This is due to the fact that C/kg is quite large and there are not many practical usecases for anything beyond than that.

Roentgens come with two prefixes (milli and micro). Most often than not, Roentgens are used 'as is', without prefixes, e.g. in case of the famous 20000R/h during Chernobyl disaster, but in some sources milli and micro are also used (example articles below).

https://www.epa.gov/radnet/about-exposure-and-dose-rates
https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7155967/

Wikipedia pages:

https://en.wikipedia.org/wiki/Radiation_exposure
https://en.wikipedia.org/wiki/Roentgen_(unit)

protected override double MicrocoulombsPerKilogramInOneCoulombPerKilogram => 1e+6;
protected override double NanocoulombsPerKilogramInOneCoulombPerKilogram => 1e+9;
protected override double PicocoulombsPerKilogramInOneCoulombPerKilogram => 1e+12;
protected override double RoentgensInOneCoulombPerKilogram => 3875.9689922;
Copy link
Owner

Choose a reason for hiding this comment

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

@angularsen angularsen merged commit efc6317 into angularsen:master Jan 2, 2024
1 check passed
@angularsen
Copy link
Owner

Looks good to me!

Release UnitsNet/5.42.0 · angularsen/UnitsNet

@piotrstenke piotrstenke deleted the add-radiation-exposure branch January 3, 2024 10:53
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