Skip to content

zephyrus.constants

constants

constants.py

Often used physical constants and unit conversions.
Author: Emma Postolec

G = 6.6743e-11 module-attribute

G_cgs = 6.6743e-08 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

kb = 1.38e-23 module-attribute

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