Ephemeris generation from TLEs (SGP4/SDP4 propagation)
[pos, vel] = CL_tle_genEphem(tle, cjd [, frame, ut1_tref, tt_tref])
Generates an ephemeris (osculating position and velocity) from TLEs.
There can be 2 cases:
- either there is only one element in the TLE structure and any number of propagation times,
- or there are several elements and as many propagation times. In this case, each element in the TLE structure is propagated to the corresponding time.
In a standard situation, the output position and velocity are converted to the specified reference frame. The input times are considered to be given in the TREF time scale and are converted to UTC internally (UTC as defined at TLE epoch). Note that if the frame is not a true equator frame, the transformation may not be as accurate as should be as the frame transformation arguments that can be provided are limited to ut1_tref and tt_tref.
It is also possible to give frame a special value: "native". It means that reference frame AND time scale are supposed to be those natively used for TLEs: TEME and UTC repectively. No conversion is performed.
TLE structure (size 1 or N)
Propagation date (modified julian days from 1950.0, TREF time scale except if frame == "native") (1xN or 1x1)
Output frame, see above for details. Default is "ECI".
(optional) UT1-TREF [seconds]. Default is %CL_UT1_TREF (1xN or 1x1)
(optional) TT-TREF [seconds]. Default is %CL_TT_TREF (1xN or 1x1)
Osculating position vector relative to the specified frame [m] (3xN)
Osculating velocity vector relative to the specified frame [m/s] (3xN)
CNES - DCT/SB/MS