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

preserve precision of input values when generating results #24

Open
pkienzle opened this issue Jul 6, 2018 · 0 comments
Open

preserve precision of input values when generating results #24

pkienzle opened this issue Jul 6, 2018 · 0 comments

Comments

@pkienzle
Copy link
Owner

pkienzle commented Jul 6, 2018

A density entered as 2.2e-4 is reported as 0.00. Instead, values should be treated as if there is an uncertainty of 1 in the last digit and reported with that uncertainty.

This is primarily an issue with the online calculator from the scattering/activation repo, but the periodictable package may need to be updated to support uncertain values in its calculations to ensure that the errors are propagated correctly.

Integer values (e.g., density = 2 g/cm^3) should perhaps be treated as having unlimited precision, and so the number of digits is driven by the uncertainties in cross sections and half-lives. That does mean that "2" and "2." will show different results, which could be confusing.

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

No branches or pull requests

1 participant