shamrock.phys.get_binary_pair#

shamrock.phys.get_binary_pair(*args, **kwargs)#

Overloaded function.

  1. get_binary_pair(*, m1: float, m2: float, a: float, e: float, nu: float, G: float) -> tuple[f64_3, f64_3, f64_3, f64_3]

    Compute the positions and velocities of two objects in a binary system m1 : Mass of the first object m2 : Mass of the second object a : Semi-major axis of the system e : Eccentricity of the system nu : True anomaly of the system (in radians) G : Gravitational constant

  2. get_binary_pair(*, m1: float, m2: float, a: float, e: float, nu: float, units: shamunits::UnitSystem<double>) -> tuple[f64_3, f64_3, f64_3, f64_3]

    Compute the positions and velocities of two objects in a binary system m1 : Mass of the first object m2 : Mass of the second object a : Semi-major axis of the system e : Eccentricity of the system nu : True anomaly of the system (in radians) units : unit system