<< CL_eph_de405Load Models CL_eph_moon >>

CelestLab >> Models > CL_eph_de405LoadT

CL_eph_de405LoadT

Loads DE405 ephemeris files (for a time span)

Calling Sequence

ephem = CL_eph_de405LoadT(cjd [, tt_tref])

Description

Parameters

cjd:

Modified (1950.0) julian days (Time scale: TREF) (1xN)

tt_tref:

(optional) TT-TREF [seconds]. Default is %CL_TT_TREF. (1xN or 1x1)

ephem:

Scilab structure containing the ephemeris data

Authors

See also

Examples

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

Report an issue
<< CL_eph_de405Load Models CL_eph_moon >>