mubody.coordinates.transformations.ICRF_to_ROT#
- mubody.coordinates.transformations.ICRF_to_ROT(t, r, v, frame_rot, eph)#
Transforms the position and the velocity from an inertial frame to a rotating frame.
- Parameters:
t (1D-array) – Instants of interest
r (ndarray (3,)/(3, n)) – Position in the inertial frame
v (ndarray (3,)/(3, n)) – Velocity in the inertial frame
frame_rot (RotatingFrame class) – Source rotating frame
eph (Ephemeris class) – Ephemeris class
- Returns:
rf (ndarray (3,)/(3, n)) – Position in the inertial frame
vf (ndarray (3,)/(3, n)) – Velocity in the inertial frame