ssapy_toolkit.Orbital_Mechanics.ellipse_from_rv

ssapy_toolkit.Orbital_Mechanics.ellipse_from_rv(r, v, num=500, f_span=None, t0=None)[source]

Sample num points on the conic (ellipse / parabola / hyperbola) defined by state vector (r, v). For e >= 1 the arc is truncated so that the radius never exceeds 2*|r|.

Returns a dict much like ellipse_arc.py (see docstring there).