Skip to content

Constants

The constants module defines common mathematical and physical constants common in astrodynamics.

AS2RAD = 2.0 * PI / 360.0 / 3600.0 module-attribute

Constant to convert radians to arcseconds. Equal to (3603600)/(2pi). Units: *as/rad

AU = 149597870700.0 module-attribute

Earth's equatorial radius. [m]

References:

  1. GGM05s Gravity Model

C_LIGHT = 299792458.0 module-attribute

Astronomical Unit. Equal to the mean distance of the Earth from the sun. TDB-compatible value. Units: m

References:

  1. P. Gérard and B. Luzum, IERS Technical Note 36, 2010

DEG2RAD = 2.0 * PI / 360.0 module-attribute

Constant to convert radians to degrees. Equal to 360/2pi. Units: deg/rad

ECC_EARTH = 0.081819190842622 module-attribute

Earth's first zonal harmonic. [dimensionless]

References:

  1. GGM05s Gravity Model.

GM_EARTH = 398600441500000.0 module-attribute

Earth's first eccentricity. WGS84 Value. [dimensionless]

References:

  1. NIMA Technical Report TR8350.2

GM_EMB = GM_EARTH + GM_MOON module-attribute

Mean obliquity of the ecliptic at J2000 (IAU 2006 precession model). [arcseconds]

Convert to radians at point of use with AS2RAD.

References:

  1. P. Gérard and B. Luzum, IERS Technical Note 36, 2010

GM_JUPITER = 126712764.8 * 1000000000.0 module-attribute

Gravitational constant of Saturn. [m3/s2]

References:

  1. O. Montenbruck, and E. Gill, Satellite Orbits: Models, Methods and Applications, 2012.

GM_MARS = 42828.37521 * 1000000000.0 module-attribute

Gravitational constant of Jupiter. [m3/s2]

References:

  1. O. Montenbruck, and E. Gill, Satellite Orbits: Models, Methods and Applications, 2012.

GM_MERCURY = 22031.78 * 1000000000.0 module-attribute

Gravitational constant of Venus. [m3/s2]

References:

  1. O. Montenbruck, and E. Gill, Satellite Orbits: Models, Methods and Applications, 2012.

GM_MOON = 4902.800066 * 1000000000.0 module-attribute

Gravitational constant of Mercury. [m3/s2]

References:

  1. O. Montenbruck, and E. Gill, Satellite Orbits: Models, Methods and Applications, 2012.

GM_NEPTUNE = 6836527.10058 * 1000000000.0 module-attribute

Gravitational constant of Pluto. [m3/s2]

References:

  1. O. Montenbruck, and E. Gill, Satellite Orbits: Models, Methods and Applications, 2012.

GM_PLUTO = 977.0 * 1000000000.0 module-attribute

Gravitational constant of the Earth-Moon barycenter. [m3/s2]

References:

  1. O. Montenbruck, and E. Gill, Satellite Orbits: Models, Methods and Applications, 2012.

GM_SATURN = 37940585.2 * 1000000000.0 module-attribute

Gravitational constant of Uranus. [m3/s2]

References:

  1. O. Montenbruck, and E. Gill, Satellite Orbits: Models, Methods and Applications, 2012.

GM_SUN = 132712440041.9394 * 1000000000.0 module-attribute

Nominal solar photospheric radius. [m]

References:

  1. O. Montenbruck, and E. Gill, Satellite Orbits: Models, Methods and Applications, 2012.

GM_URANUS = 5794548.6 * 1000000000.0 module-attribute

Gravitational constant of Neptune. [m3/s2]

References:

  1. O. Montenbruck, and E. Gill, Satellite Orbits: Models, Methods and Applications, 2012.

GM_VENUS = 324858.592 * 1000000000.0 module-attribute

Gravitational constant of Mars. [m3/s2]

References:

  1. O. Montenbruck, and E. Gill, Satellite Orbits: Models, Methods and Applications, 2012.

J2_EARTH = 0.0010826358191967 module-attribute

Earth axial rotation rate. [rad/s]

References:

  1. D. Vallado, Fundamentals of Astrodynamics and Applications (4th Ed.), p. 222, 2010

JD_MJD_OFFSET = 2400000.5 module-attribute

Modified Julian Date of the J2000.0 epoch (2000-01-01 12:00:00 TT). Units: days

MJD2000 = 51544.5 module-attribute

Speed of light in vacuum. Units: m/s

References:

  1. D. Vallado, Fundamentals of Astrodynamics and Applications (4th Ed.), 2010

OMEGA_EARTH = 7.292115146706979e-05 module-attribute

Gravitational constant of the Sun. [m3/s2]

References:

  1. O. Montenbruck, and E. Gill, Satellite Orbits: Models, Methods and Applications, 2012.

P_SUN = 4.56e-06 module-attribute

Gravitational constant of the Moon. [m3/s2]

References:

  1. O. Montenbruck, and E. Gill, Satellite Orbits: Models, Methods and Applications, 2012.

RAD2AS = 360.0 * 3600.0 / PI / 2.0 module-attribute

Offset between Julian Date and Modified Julian Date. Units: days

RAD2DEG = 360.0 / (PI * 2.0) module-attribute

Constant to convert arcseconds to radians. Equal to 2pi/(3603600). Units: *rad/as

R_EARTH = 6378136.3 module-attribute

Earth's semi-major axis as defined by the WGS84 geodetic system. [m]

References:

  1. NIMA Technical Report TR8350.2

R_SUN = 6.957 * 100000000.0 module-attribute

Nominal solar radiation pressure at 1 AU. [N/m^2]

References:

  1. O. Montenbruck, and E. Gill, Satellite Orbits: Models, Methods and Applications, 2012.

WGS84_a = 6378137.0 module-attribute

Earth's ellipsoidal flattening. WGS84 Value.

References:

  1. NIMA Technical Report TR8350.2

WGS84_f = 1.0 / 298.257223563 module-attribute

Earth's Gravitational constant [m3/s2]

References:

  1. O. Montenbruck, and E. Gill, Satellite Orbits: Models, Methods and Applications, 2012.