<< CL_ephDE_getTDB Models CL_ephDE_loadT >>

celestlab >> Models > CL_ephDE_load

CL_ephDE_load

Loads a DExxx ephemeris file

Calling Sequence

ephem = CL_ephDE_load(fpath)

Description

Parameters

fpath:

(string) Path of ephemeris file (1x1)

ephem:

Scilab structure containing the data (1x1)

Authors

See also

Examples

// Load a DE405 (binary) ephemeris file
// NB: appropriate file name suffix added
fpath = CL_path("1960.*", fullfile(CL_home(), "data"));
ephem = CL_ephDE_load(fpath);

// Use it!
cjd = CL_dat_convert("cal", "cjd", [1962;1;1]);
[pos, vel, acc] = CL_ephDE_getPVA("Mars",cjd, "Earth", ephem=ephem)

Report an issue
<< CL_ephDE_getTDB Models CL_ephDE_loadT >>