jaxoplanet.core.kepler

jaxoplanet.core.kepler#

This module provides the core functionality to solve Kepler’s equation in JAX. For more details, see the Jaxoplanet core from scratch tutorial.

Module Contents#

Functions#

kepler(→ tuple[jaxoplanet.types.Array, ...)

Solve Kepler's equation to compute the true anomaly

jaxoplanet.core.kepler.kepler(M: jaxoplanet.types.Array, ecc: jaxoplanet.types.Array) tuple[jaxoplanet.types.Array, jaxoplanet.types.Array][source]#

Solve Kepler’s equation to compute the true anomaly

Parameters:
  • M – Mean anomaly

  • ecc – Eccentricity

Returns:

The sine and cosine of the true anomaly