-
Notifications
You must be signed in to change notification settings - Fork 1
/
PhyConst.py
28 lines (22 loc) · 1.33 KB
/
PhyConst.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
amu = 1.66053886e-24 # /* atomic mass unit */
mp = 1.67262171e-24 # /* proton mass */
mn = 1.67492728e-24 # /* neutron mass */
me = 9.1093826e-28 # /* electron mass */
mH = 1.6733e-24 # /* Hydrogen atom mass */
kB = 1.3806505e-16 # /* Boltzmann constant */
sigma = 5.67051e-5 # /* Stephan Boltmann constant */
sigmaT = 6.6524e-25 # /* Thomson Cross section */
NA = 6.0221367e23 # /* Avogadro Contant */
c = 2.99792458e10 # /* Speed of Light */
Msun = 2.e33 # /* Solar Mass */
Rsun = 6.96e10 # /* Solar Radius */
Lsun = 3.8389999999999997e+33 # /* Solar Luminosity */
Mearth = 5.9736e27 # /* Earth Mass */
Rearth = 6.378136e8 # /* Earth Radius */
G = 6.6726e-8 # /* Gravitational Constant */
h = 6.62606876e-27 # /* Planck Constant */
pc = 3.0856775807e18 # /* parsec */
ly = 0.9461e18 # /* light year */
au = 1.49597892e13 # /* astronomical unit */
eV = 1.602176463158e-12 #/* electron Volt in erg */
yr = 365.0*24.0*60.0*60.0 #/* year in sec */