shamrock.phys.get_binary_rotated#

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

Overloaded function.

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

    Rotate a binary orbit by Euler angles and return the positions and velocities of the two objects. 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 roll : Rotation about the X-axis (in radians) pitch : Rotation about the Y-axis (in radians) yaw : Rotation about the Z-axis (in radians)

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

Binary orbit functions

Binary orbit functions