Documentation ¶
Overview ¶
Package orbdata contains useful contstants and defined orbits of the solar system.
In here you will find Gravitational constants of the major planets
Index ¶
Constants ¶
const AU = 149598000
AU represents the length of an Astronomical Unit in KiloMeters
const EarthGrav = 398600.44180000003
EarthGrav gravitational constant for Earth centric orbits (km^3)/(s^-2)
const JupiterGrav = 126712762.53
JupiterGrav gravitational constant for Jupiter centric orbits (km^3)/(s^-2)
const MarsGrav = 42828.3744
MarsGrav gravitational constant for Mars centric orbits (km^3)/(s^-2)
const MercuryGrav = 22032.09
MercuryGrav gravitational constant for Mercury centric orbits (km^3)/(s^-2)
const MoonGrav = 4902.79981
MoonGrav gravitational constant for Moon centric orbits (km^3)/(s^-2)
const NeptuneGrav = 6836527.100580397
NeptuneGrav gravitational constant for Neptune centric orbits (km^3)/(s^-2)
const SaturnGrav = 37931207.7
SaturnGrav gravitational constant for Saturn centric orbits (km^3)/(s^-2)
const SunGrav = 132712442099.00002
SunGrav IAU2009 Heliocentric gravitational constant (km^3)/(s^-2)
const UranusGrav = 5793939.300000001
UranusGrav gravitational constant for Uranus centric orbits (km^3)/(s^-2)
const VenusGrav = 324858.592
VenusGrav gravitational constant for Venus centric orbits (km^3)/(s^-2)
Variables ¶
var EarthOrbit = orbcore.Orbit{ ID: "Earth", ParentGrav: SunGrav, Epoch: J2000, MeanAnomalyEpoch: 6.039693392708146, ArgumentOfPerihelion: 1.4877567222443007, LongitudeOfTheAscendingNode: 8.219803446009808e-05, InclinationToTheEcliptic: 0.9e-07, OrbitalEccentricity: 0.023506053256160484, SemimajorAxis: 1.49597887e8, }
EarthOrbit defines the standard earth orbit.
var InnerSolarSystem = []orbcore.Orbit{ MercuryOrbit, VenusOrbit, EarthOrbit, MarsOrbit, }
InnerSolarSystem is a collection of major bodies in the inner solar system
var J2000 = time.Date(2000, 1, 1, 0, 0, 0, 0, time.UTC)
J2000 is the base time epoch of a lot of astronomical times.
var JupiterOrbit = orbcore.Orbit{ ID: "Jupiter", ParentGrav: SunGrav, Epoch: J2000, MeanAnomalyEpoch: 3.986624571747394, ArgumentOfPerihelion: 0.22894709895829354, LongitudeOfTheAscendingNode: 0.056682739190454204, InclinationToTheEcliptic: 0.0227818, OrbitalEccentricity: 0.05041232826440195, SemimajorAxis: 7.78412027e8, }
JupiterOrbit defines the standard Jupiter orbit.
var MarsOrbit = orbcore.Orbit{ ID: "Mars", ParentGrav: SunGrav, Epoch: J2000, MeanAnomalyEpoch: 0.9016227920497925, ArgumentOfPerihelion: 5.804221558977953, LongitudeOfTheAscendingNode: 0.059136325715984754, InclinationToTheEcliptic: 0.0322992, OrbitalEccentricity: 0.09853112210172534, SemimajorAxis: 2.27936637e8, }
MarsOrbit defines the standard mars orbit.
var MercuryOrbit = orbcore.Orbit{ ID: "Mercury", ParentGrav: SunGrav, Epoch: J2000, MeanAnomalyEpoch: 0.7363828677023899, ArgumentOfPerihelion: 1.290398137330985, LongitudeOfTheAscendingNode: 0.19016162418731905, InclinationToTheEcliptic: 0.122258, OrbitalEccentricity: 0.2161872518335417, SemimajorAxis: 5.7909176e7, }
MercuryOrbit defines the standard mercury orbit
var NeptuneOrbit = orbcore.Orbit{ ID: "Neptune", ParentGrav: SunGrav, Epoch: J2000, MeanAnomalyEpoch: 5.100969108525634, ArgumentOfPerihelion: 0.8712884041923264, LongitudeOfTheAscendingNode: 0.060720496894987035, InclinationToTheEcliptic: 0.0308778, OrbitalEccentricity: 0.011600603763700122, SemimajorAxis: 4.49825291e9, }
NeptuneOrbit defines the standard Neptune orbit.
var OuterSolarSystem = []orbcore.Orbit{ JupiterOrbit, SaturnOrbit, UranusOrbit, NeptuneOrbit, }
OuterSolarSystem is a collection of major bodies in the outer solar system
var SaturnOrbit = orbcore.Orbit{ ID: "Saturn", ParentGrav: SunGrav, Epoch: J2000, MeanAnomalyEpoch: 3.2720797523951766, ArgumentOfPerihelion: 1.5276434137035415, LongitudeOfTheAscendingNode: 0.10399170848152173, InclinationToTheEcliptic: 0.043362, OrbitalEccentricity: 0.05853326249640754, SemimajorAxis: 1.42672541e9, }
SaturnOrbit defines the standard Saturn orbit.
var SolarSystem = []orbcore.Orbit{ MercuryOrbit, VenusOrbit, EarthOrbit, MarsOrbit, JupiterOrbit, SaturnOrbit, UranusOrbit, NeptuneOrbit, }
SolarSystem is a collection of major bodies in the solar system
var SolarSystemBox = orbcore.BoundingBox{}
SolarSystemBox defines a bounding box containing the solar system.
var UranusOrbit = orbcore.Orbit{ ID: "Uranus", ParentGrav: SunGrav, Epoch: J2000, MeanAnomalyEpoch: 3.8644829632802806, ArgumentOfPerihelion: 2.926548412800625, LongitudeOfTheAscendingNode: 0.03235322856941487, InclinationToTheEcliptic: 0.013437, OrbitalEccentricity: 0.044645557888114, SemimajorAxis: 2.87097222e9, }
UranusOrbit defines the standard Uranus orbit.
var VenusOrbit = orbcore.Orbit{ ID: "Venus", ParentGrav: SunGrav, Epoch: J2000, MeanAnomalyEpoch: 6.024347789858294, ArgumentOfPerihelion: 1.8790979389622697, LongitudeOfTheAscendingNode: 0.13963804205942293, InclinationToTheEcliptic: 0.0592489, OrbitalEccentricity: 0.017361719534212148, SemimajorAxis: 1.0820893e8, }
VenusOrbit defines the standard mercury orbit
Functions ¶
This section is empty.
Types ¶
This section is empty.