<jupyter_start><jupyter_text>Demonstration of KEPCART - 20190312 - MJP - How to use the KEPCART routine to do conversion  *NOT YET INCLUDED* : Ability to handle hyperbolic orbits properly<jupyter_code># Standard imports 
import numpy as np 
import MPC_library as MPCL

# classes code 
import kepcart as kc<jupyter_output>/Users/matthewjohnpayne/anaconda/lib/python3.5/importlib/_bootstrap.py:222: RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility. Expected 96, got 88
  return f(*args, **kwds)
/Users/matthewjohnpayne/anaconda/lib/python3.5/importlib/_bootstrap.py:222: RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility. Expected 96, got 88
  return f(*args, **kwds)<jupyter_text>Convert keplerian elements  to cartesian state<jupyter_code>GMcenter=MPCL.Constants.GMsun
a, e, incl, longnode, argperi, meananom = (1.0, 0.0, 0.0, 0.0, 0.0, 0.0)
CART = kc.cartesian(GMcenter, a, e, incl, longnode, argperi, meananom) 
print("CART=")
print(CART.x, CART.y, CART.z, CART.xd, CART.yd, CART.zd)<jupyter_output>CART=
1.0 0.0 0.0 -0.0 0.01720209895 0.0<jupyter_text>Convert cartesian state to keplerian elements<jupyter_code>KEP=kc.keplerian(GMcenter,CART)
print("KEP=",KEP)<jupyter_output>KEP= (1.0, 0.0, 0.0, 0.0, 0.0, 0.0)
{'fraction_non_alphanumeric': 0.12195121951219512, 'fraction_numerical': 0.05664830841856806, 'mean_word_length': 5.625, 'pattern_counts': {'":': 0, '<': 10, '<?xml version=': 0, '>': 10, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '3', 'dir': 'jupyter-structured-clean-dedup', 'id': '381790', 'license': 'MIT', 'n_tokens_mistral': 553, 'n_tokens_neox': 503, 'n_words': 120, 'path': 'notebooks/zzz_old/Demonstrate_KEPCART.ipynb', 'repo_name': 'matthewjohnpayne/MPChecker2', 'size': '1271'}