boinor.core.flybys ================== .. py:module:: boinor.core.flybys .. autoapi-nested-parse:: Low level computations for flybys. Functions --------- .. autoapisummary:: boinor.core.flybys.compute_flyby Module Contents --------------- .. py:function:: compute_flyby(v_spacecraft, v_body, k, r_p, theta) Computes outbound velocity after a flyby and the turn angle. :param k: Standard Gravitational parameter. :type k: float :param r_p: Radius of periapsis, measured from the center of the body. :type r_p: float :param v_spacecraft: Velocity of the spacecraft, relative to the attractor of the body. :type v_spacecraft: float :param v_body: Velocity of the body, relative to its attractor. :type v_body: float :param theta: Aim angle of the B vector. :type theta: float :returns: * **v_spacecraft_out** (*float*) -- Outbound velocity of the spacecraft. * **delta** (*float*) -- Turn angle.