astro.KeplerPropagator#

class hohmannpy.astro.KeplerPropagator(step_size=60, solver_tol=1e-08, fg_constraint=True)#

Propagates orbits using an f and g functions as well as Kepler’s equation.

If eccentricity is greater than 1 automatically switches over to using the hyperbolic eccentric anomaly. The parabolic case is not included. Be aware that for near-parabolic orbits propagation accuracy will greatly decrease.

Parameters:
  • step_size (float) – Time interval between propagation steps. If one is not provided by the user it will be set in propagate() to 60 \(s\).

  • solver_tol (float) – Error tolerance when performing root-finding to solver Kepler’s equation.

  • fg_constraint (bool) – Flag which indicates whether to compute the derivative of the g function (False) or to use a constraint to eliminate it (True).