original_docstring: An iterative function to solve kepler's equation.
docstring: An iterative function to solve kepler's equation.
docstring_tokens: An iterative function to solve kepler ' s equation .
code: def solve_kepler(e, M):
      """An iterative function to solve kepler's equation."""
      E0 = M
      E = E0
      x0 = E0
      error = 1.0
      i = 0
      while(abs(error) > 1e-8):
          x1 = x0 - kepler1order(e, M, x0)
          E = x1
          error = x1 - x0
          x0 = x1
  
          #print("error: {0} E: {1}".format(error, E))
  
      return E
code_tokens: def solve_kepler ( e , M ) : E0 = M E = E0 x0 = E0 error = 1.0 i = 0 while ( abs ( error ) > 1e-8 ) : x1 = x0 - kepler1order ( e , M , x0 ) E = x1 error = x1 - x0 x0 = x1 return E
short_docstring: An iterative function to solve kepler's equation.
short_docstring_tokens: An iterative function to solve kepler ' s equation .
comment: """An iterative function to solve kepler's equation."""$SEP$#print("error: {0} E: {1}".format(error, E))