Global constants

Global constants#

In pykep the access a number of common constants are provided for convenience. The user can overwrite their values if needed. These constants are not used in the pykep internals, they are only provided for convenience for the user to instantiate / use the various pykep objects and functionalities.

Pykep global constants#

Constant’s Name

Symbol in pykep

Units

Value

Astronomical Unit

pykep.AU

\(m\)

1.495978707e+11

Cavendish constant

pykep.CAVENDISH

\(\frac{m^3}{sec^2 kg}\)

6.67430e-11

Sun’s gravitational parameter

pykep.MU_SUN

\(\frac{m^3}{sec^2}\)

1.32712440041279419e20

Earth’s gravitational parameter (JPL DE440)

pykep.MU_EARTH

\(\frac{m^3}{sec^2}\)

3.98600435507e+14

Moon’s gravitational parameter (JPL DE440)

pykep.MU_MOON

\(\frac{m^3}{sec^2}\)

4.902800118e+12

Earth’s velocity

pykep.EARTH_VELOCITY

\(\frac{m}{sec}\)

29784.691831696804

Earth’s radius

pykep.EARTH_RADIUS

\(\frac{m}{sec}\)

6378137.0

Earth’s \(J_2\)

pykep.EARTH_J2

0.00108262668

CR3BP: Moon-Earth parameter

pykep.CR3BP_EARTH_MOON

0.01215058439470971

Seconds in one day

pykep.DAY2SEC

86400.0

Degrees in one radians

pykep.RAD2DEG

57.29577951308232

Radians in one degree

pykep.DEG2RAD

0.017453292519943295