mubody.coordinates.transformations.SYN_to_ROT#
- mubody.coordinates.transformations.SYN_to_ROT(t, ri, vi, frame_syn, crtbp)#
Transforms the position and the velocity from a synodic frame to a rotating frame.
- Parameters:
t (1D-array (n)) – Instants of interest
r (ndarray (3,)/(3, n)) – Position in the synodic frame
v (ndarray (3,)/(3, n)) – Velocity in the synodic frame
frame_syn (SynodicFrame class) – Source synodic frame
crtbp (CRTBP class) – CRTBP class
- Returns:
rf (ndarray (3,)/(3, n)) – Position in the rotating frame
vf (ndarray (3,)/(3, n)) – Velocity in the rotating frame