Orbit2Kepler

This program computes the osculating Keplerian elements from position and velocity of a given inputfileOrbit. The inputfileOrbit must contain positions and velocities (see OrbitAddVelocityAndAcceleration).

The outputfileKepler is an instrument file (MISCVALUES) with the Keplerian elements at each epoch in the following order

The data of inputfileInstrument are appended as values to each epoch.

NameTypeAnnotation
outputfileKepler
filenameinstrument file (MISCVALUES: Omega, i, omega [degree], a [m], e, M [degree], tau [mjd], ...)
inputfileOrbit
filenameposition and velocity at each epoch define the kepler orbit
inputfileInstrument
filenamedata is appended
GM
doubleGeocentric gravitational constant
This program is parallelized.