I have a python program that I use to calculate the xyz positions of a point in a kepler orbit.
It takes the following values to define the orbit.
- semi-major axis
- orbit period
- longitude of the ascending node
- longitude of the pericenter
I can then get a position by supplying a time value.
I have not been able to find such a script – if one exists that could be pointed out to me that would solve my problem.
There is one that comes close:
but this takes different values to calculate the orbit:
It will then give an xyz position if supplied with a time.
However I only have the values that I give to the python script above.
Any help really appreciated – Thanks.