-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathConstants.py
More file actions
32 lines (30 loc) · 1008 Bytes
/
Copy pathConstants.py
File metadata and controls
32 lines (30 loc) · 1008 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
from poliastro import constants
from astropy.time import Time
"""
File containing mass constants from poliastro, and time from astropy
"""
# Using Astropy, we import the time
t = Time("2024-11-26 17:00:00.0", scale="tdb")
# dictionary reference of mass constants for MassFunc to reference
GM_constants = {
"sun": constants.GM_sun,
"mercury": constants.GM_mercury,
"venus": constants.GM_venus,
"earth": constants.GM_earth,
"mars": constants.GM_mars,
"jupiter": constants.GM_jupiter,
"saturn": constants.GM_saturn,
"uranus": constants.GM_uranus,
"neptune": constants.GM_neptune,
"pluto": constants.GM_pluto,
"moon": constants.GM_moon,
"phobos": constants.GM_phobos,
"deimos": constants.GM_deimos,
"europa": constants.GM_europa,
"ganymede": constants.GM_ganymede,
"enceladus": constants.GM_enceladus,
"titan": constants.GM_titan,
"titania": constants.GM_titania,
"triton": constants.GM_triton,
"charon": constants.GM_charon
}