Loads DE405 ephemeris files (for a time span)
ephem = CL_eph_de405LoadT(cjd [, tt_tref])
Loads DE405 ephemeris files for a given time span.
The time span is defined by the interval containing all the dates in cjd.
The result is returned in a Scilab stucture ephem that can be used by the function CL_eph_de405.
Note:
The format of the ephemeris file is specific to CelestLab.
Modified (1950.0) julian days (Time scale: TREF) (1xN)
(optional) TT-TREF [seconds]. Default is %CL_TT_TREF. (1xN or 1x1)
Scilab structure containing the ephemeris data
CNES - DCT/SB
cjd_min = CL_dat_cal2cjd(1980, 1, 1); // TREF cjd_max = CL_dat_cal2cjd(2020, 1, 1); // TREF ephem = CL_eph_de405LoadT([cjd_min, cjd_max]); // Use it! cjd = linspace(cjd_min, cjd_max, 5); [pos, vel, acc] = CL_eph_de405("Mars", cjd, "Earth", ephem=ephem); [pos, vel, acc] = CL_eph_de405("Mars", cjd, "Earth"); // => same, but slower |