orbix.kepler.shortcuts.guess

orbix.kepler.shortcuts.guess#

Methods for generating initial guesses for the eccentric anomaly.

E_guess returns the initial guesses for the eccentric anomaly calculated from the constructed polynomials defined by RPP and orvara, based on the mean anomaly and eccentricity. There is also a jit-compiled version available as E_guess_jit.

Attributes#

Functions#

E_guess(M, e)

Gives the initial guess based on the constructed polynomials.

Module Contents#

orbix.kepler.shortcuts.guess.E_guess(M, e)[source]#

Gives the initial guess based on the constructed polynomials.

Parameters:
  • M (jnp.ndarray) – Mean anomaly. Shape: (n,).

  • e (float) – Eccentricity.

Returns:

Eccentric anomaly. Shape: (n,).

Return type:

E (jnp.ndarray)

orbix.kepler.shortcuts.guess.E_guess_jit = None#