mirror of
https://github.com/cosinekitty/astronomy.git
synced 2026-03-27 02:44:00 -04:00
The Lagrange point calculation is still not finished, but L1 and L2 are working. L3 is probably correct, but there is no test data for it. I replaced the test data with new JPL Horizons output that is centered on the primary body instead of the Solar System Barycenter. This allows Astronomy_LagrangePoint() to be agnostic about the coordinate systems of the state vectors handed to it. I still need to get L4 and L5 calculations to match JPL Horizons data, but it is not yet clear how to do that.