Position and velocity transformation from one body frame to another
[pos2,vel2,jacob] = CL_fr_bodyConvert(body,frame1,frame2,cjd,pos1, [,vel1,tt_tref])
Converts position and (optionally) velocity vectors relative to "frame1" to position and (optionally) velocity vectors relative to "frame2".
The jacobian of the transformation is optionally computed.
Available frames are :
'ICRS': International Celestial Reference System
'BCI': Body Centered Inertial
'BCF': Body Centered body Fixed
See Reference frames for more details on the definition of reference frames.
Available bodies are: "Mercury","Venus","Mars","Jupiter","Saturn","Uranus", "Neptune", "Sun" and "Moon"
Notes :
- The date "cjd" is relative to the TREF time scale.
- The frame names and body names are case sensitive
- If only the position needs to be converted, vel1 can be omitted or set to []. (vel2 will then be set to []).
- Earth is not a valid body for this function. See CL_fr_convert.
- GCRS (identical to ICRS in CelestLab) is also accepted as a frame name.
(string) Name of the body. ("Mercury","Venus","Mars","Jupiter","Saturn","Uranus", "Neptune", "Sun" or "Moon") (1x1)
(string) Name of the initial frame. (1x1)
(string) Name of the final frame. (1x1)
Modified (1950.0) julian day (Time scale: TREF) (1xN or 1x1)
Position vector in initial frame. (3xN or 3x1)
Velocity vector in initial frame. (3xN or 3x1)
(optional) TT-TREF [seconds]. Default is %CL_TT_TREF. (1xN or 1x1)
Position vector in final frame. (3xN or 3x1)
(optional) Velocity vector in final frame. (3xN or 3x1)
(optional) Jacobian of the transformation (6x6xN)
CNES - DCT/SB
Report of the IAU/IAG working group on cartographic coordinates and rotational elements: 2009