poliastro.iod.izzo

Izzo’s algorithm for Lambert’s problem

Module Contents

Functions

lambert(k, r0, r, tof, M=0, numiter=35, rtol=1e-08)

Solves the Lambert problem using the Izzo algorithm.

Attributes

kms

poliastro.iod.izzo.kms
poliastro.iod.izzo.lambert(k, r0, r, tof, M=0, numiter=35, rtol=1e-08)

Solves the Lambert problem using the Izzo algorithm.

New in version 0.5.0.

Parameters
  • k (Quantity) – Gravitational constant of main attractor (km^3 / s^2).

  • r0 (Quantity) – Initial position (km).

  • r (Quantity) – Final position (km).

  • tof (Quantity) – Time of flight (s).

  • M (int, optional) – Number of full revolutions, default to 0.

  • numiter (int, optional) – Maximum number of iterations, default to 35.

  • rtol (float, optional) – Relative tolerance of the algorithm, default to 1e-8.

Yields

v0, v (tuple) – Pair of velocity solutions.