Position and velocity conversion from one frame to another frame.
[pos2, vel2, jacob] = CL_fr_convert(frame1, frame2, cjd, pos1, [vel1, ut1_tref, tt_tref, xp, yp, dX, dY, use_interp])
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.
The available frames are :
In addition, 2 other frames (or names) are defined: ECI and ECF.
See Reference frames for more details on the definition of reference frames.
Notes:
- The date "cjd" is relative to the TREF time scale.
- Which optional arguments need to be supplied depends on the frame transformation. See the frame transformation diagram for more details.
- The frame 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 []).
Modified Julian date from 1950.0 (TREF time scale) (1xN or 1x1)
(string) Initial frame (1x1)
(string) Final frame (1x1)
Position vector in initial frame [m] (3xN or 3x1)
(optional) Velocity vector in initial frame [m/s] (3xN or 3x1)
(optional) UT1-TREF [seconds]. Default is %CL_UT1_TREF (1xN or 1x1)
(optional) TT-TREF [seconds]. Default is %CL_TT_TREF. (1xN or 1x1)
(optional) Position of the pole in ITRS [rad] (1xN or 1x1)
(optional) Corrections to CIP coordinates [rad] (1xN or 1x1)
(optional, boolean) %t to use interpolation when computing CIP coordinates. Default is %t. (1x1)
Position vector in final frame [m] (3xN)
(optional) Velocity vector in final frame [m/s] (3xN)
(optional) Jacobian of the transformation: (pos1,vel1) to (pos2,vel2) (6x6xN)
CNES - DCT/SB