esa / pykep

PyKEP is a scientific library providing basic tools for research in interplanetary trajectory design.
http://esa.github.io/pykep/
GNU General Public License v3.0
334 stars 96 forks source link

Feature/mga refactoring #143

Closed mlooz closed 3 years ago

mlooz commented 3 years ago

Added an ephemerides function eph to the mga and mga_1dsm trajopt problems. Example: eph = cassini.get_eph_function(population.champion_x) pos, vel = eph(pykep.epoch(7000))

This also enables easy distance plots: cassini-example-plot