constants.py

Constants used throughout the code. All values are in MKS units unless otherwise specified.

planetplanet.constants.AUM = 149598000000.0

Astronomical Unit

planetplanet.constants.AUREARTH = 23454.94739812797

1 AU in Earth radii

planetplanet.constants.CLIGHT = 299800000.0

Speed of light

planetplanet.constants.DAYSEC = 86400.0

Seconds in 1 day

planetplanet.constants.G = 6.67428e-11

Gravitational constant

planetplanet.constants.GEARTH = 11468.12130411837

Gravitational constant in Earth units

planetplanet.constants.HPLANCK = 6.62607004e-34

Planck’s constant

planetplanet.constants.KBOLTZ = 1.38064852e-23

Boltzmann constant

planetplanet.constants.LSUN = 3.846e+26

Solar luminosity

planetplanet.constants.MEARTH = 5.9722e+24

Earth mass

planetplanet.constants.MINUTE = 0.0006944444444444445

Days in 1 minute

planetplanet.constants.MSUN = 1.988416e+30

Solar mass

planetplanet.constants.MSUNMEARTH = 332945.31328488665

1 solar mass in Earth masses

planetplanet.constants.OCTOBER_08_2016 = 7670.0

Noon UT on October 8, 2016 in BJD − 2,450,000

planetplanet.constants.PARSEC = 3.086e+16

Parsec

planetplanet.constants.REARTH = 6378100.0

Earth radius

planetplanet.constants.RSUN = 695700000.0

Solar radius

planetplanet.constants.RSUNREARTH = 109.07637070600963

1 solar radius in Earth radii

planetplanet.constants.SBOLTZ = 5.670367e-08

Stefan-Boltzmann constant

planetplanet.constants.SEARTH = 1361.0

Earth insolation (solar constant)

planetplanet.constants.SECOND = 1.1574074074074073e-05

Days in 1 second