Skip to content

Paalon/CODATA2014.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CODATA2014

CODATA Internationally recommended 2014 values of the Fundamental Physical Constants. This module references The NIST Reference on Constants, Units, and Uncertainty.

Supported versions

Version is supported
1.0 yes
0.7 yes
0.6 yes
0.5 no

How to use

Frequently used constants are exported by their name (like SpeedOfLightInVacuum). Other constants or detail information (uncertainty, unit) are available from CODATA2014.Constants. It has all of the information about the CODATA2014 constants. This is the list of available constants.

julia> using CODATA2014

julia> SpeedOfLightInVacuum
2.99792458e8

julia> Constants["unified atomic mass unit"]
CODATA2014.FundamentalPhysicalConstant(1.66053904e-27, 2.0e-35, "kg")

julia> Constants["unified atomic mass unit"].value
1.66053904e-27

julia> Constants["unified atomic mass unit"].uncertainty
2.0e-35

julia> Constants["unified atomic mass unit"].unit
"kg"

julia> CODATA2014.e
1.6021766208e-19

julia> CODATA2014.c
2.99792458e8

About

CODATA Internationally recommended 2014 values of the Fundamental Physical Constants

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages