grss.libgrss.universal_propagator

grss.libgrss.universal_propagator#

grss.libgrss.universal_propagator(state0: collections.abc.Sequence[SupportsFloat | SupportsIndex], dt: SupportsFloat | SupportsIndex, GM: SupportsFloat | SupportsIndex = 0.00029591220828411956, tol: SupportsFloat | SupportsIndex = 1e-12, max_iter: SupportsInt | SupportsIndex = 250) → list[float]#

Universal variable two-body propagator.

Parameters:
  • state0 (list of real) – Initial Cartesian state [x, y, z, vx, vy, vz].

  • dt (real) – Time of flight in days.

  • GM (real, optional) – Gravitational parameter, by default Sun.

  • tol (real, optional) – Tolerance for the Newton-Raphson solver, by default 1.0e-12.

  • max_iter (int, optional) – Maximum number of iterations for the Newton-Raphson solver, by default 250.

Returns:

state_plus_info – Propagated Cartesian state [x, y, z, vx, vy, vz] plus the lagrange coefficients [f, g, fdot, gdot].

Return type:

list of real