Public
Edited
Sep 14, 2024
Paused
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
// Osculating orbital elements for Earth-Moon barycenter and Mars barycenter
// Date: 2024-06-01
// source: de440.bsp (JPL ephemeris DE440)
osculating_orbital_elements = {
var array = [];
var data = {
0: {
ID: "earth",
name: "Earth-Moon barycenter",
JD: 2460462.5,
a: 1.00000, // Semi-major axis (astronomical unit, AU)
e: 0.01669, // Eccentricity
i: 0.00323, // Inclination (degrees)
n: 0.98561, // Mean motion (degrees per day)
o: 174.32115, // Longitude of the ascending node (degrees)
w: 288.73527, // Argument of periapsis (degrees)
MA: 146.57663, // Mean anomaly (degrees)
p: 103.05641, // Longitude of periapsis (degrees)
L: 249.63305 // Mean longitude (degrees)
},
1: {
ID: "mars",
name: "Mars barycenter",
JD: 2460462.5,
a: 1.52363, // Semi-major axis (astronomical unit, AU)
e: 0.09328, // Eccentricity
i: 1.84786, // Inclination (degrees)
n: 0.52407, // Mean motion (degrees per day)
o: 49.48904, // Longitude of the ascending node (degrees)
w: 286.68524, // Argument of periapsis (degrees)
MA: 12.33995, // Mean anomaly (degrees)
p: 336.17428, // Longitude of periapsis (degrees)
L: 348.51423 // Mean longitude (degrees)
}
};
Object.keys(data).forEach(key => {
array.push(data[key]);
});
return array;
}
Insert cell
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more