Skip to content

zephyrus.constants

constants

constants.py

Often used physical constants and unit conversions.
Authors: Emma Postolec, Mara Attia

G = 6.6743e-11 module-attribute

G_cgs = 6.6743e-08 module-attribute

amu = 1.6605390666e-27 module-attribute

au2cm = 14960000000000.0 module-attribute

au2m = 149600000000.0 module-attribute

c = 299792458.0 module-attribute

erg2joule = 1e-07 module-attribute

ergcm2stoWm2 = 0.001 module-attribute

ergpersecondtowatt = 1e-07 module-attribute

ev2joule = 1.602176634e-19 module-attribute

gcm3tokgm3 = 1000.0 module-attribute

h_planck = 6.62607015e-34 module-attribute

kb = 1.380649e-23 module-attribute

kb_cgs = 1.380649e-16 module-attribute

m_p = 1.67262192369e-27 module-attribute

rate_floor = m_p / yr_julian module-attribute

s2yr = 1 / (3600 * 24 * 365) module-attribute

yr_julian = 31557600.0 module-attribute