poliastro.core.propagation.gooding

Module Contents

Functions

gooding_coe(k, p, ecc, inc, raan, argp, nu, tof[, ...])

gooding(k, r0, v0, tof[, numiter, rtol])

Solves the Elliptic Kepler Equation with a cubic convergence and

poliastro.core.propagation.gooding.gooding_coe(k, p, ecc, inc, raan, argp, nu, tof, numiter=150, rtol=1e-08)
poliastro.core.propagation.gooding.gooding(k, r0, v0, tof, numiter=150, rtol=1e-08)

Solves the Elliptic Kepler Equation with a cubic convergence and accuracy better than 10e-12 rad is normally achieved. It is not valid for eccentricities equal or higher than 1.0.

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 150.

  • 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.

Note

Original paper for the algorithm: https://doi.org/10.1007/BF01238923