poliastro2.math.propagation.danby

poliastro2.math.propagation.danby(k, r0, v0, tof, numiter=20, rtol=1e-08)

Kepler solver for both elliptic and parabolic orbits based on Danby’s algorithm.

Parameters:
  • k (float) – Standard gravitational parameter of the attractor.

  • r0 (numpy.ndarray) – Position vector.

  • v0 (numpy.ndarray) – Velocity vector.

  • tof (float) – Time of flight.

  • numiter (int, optional) – Number of iterations, defaults to 20.

  • rtol (float, optional) – Relative error for accuracy of the method, defaults to 1e-8.

Returns:

  • rr (numpy.ndarray) – Final position vector.

  • vv (numpy.ndarray) – Final velocity vector.

Notes

This algorithm was developed by Danby in his paper The solution of Kepler Equation with DOI: https://doi.org/10.1007/BF01686811