gncpy.orbital_mechanics.ecc_anom_from_mean

ecc_anom_from_mean(mean_anom, ecc, tol=1e-07, max_iter=1000)[source]

Calculate the eccentric anomaly from the mean anomaly.

Parameters:
  • mean_anom (float) – Mean anomaly in radians

  • ecc (float) – eccentricity

  • tol (float, optional) – Minimum tolerance for convergence. The default is 10**-7.

  • max_iter (int, optional) – Maximum number of iterations to run. The default is 10**3.

Returns:

Eccentric anomaly in radians.

Return type:

float