<< Models Models CL_eph_de405Load >>

CelestLab >> Models > CL_eph_de405

CL_eph_de405

Position, velocity and acceleration of a body using JPL's DE405 ephemerides

Calling Sequence

[pos, vel, acc] = CL_eph_de405(body,cjd [,orig,tt_tref,ephem])

Description

Parameters

body:

(string) Name of the body. (1x1)

cjd:

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

orig:

(optional, string) Name of the origin. Default is "solar-sys-bary" (1x1)

tt_tref:

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

ephem:

(optional) Scilab structure of ephemeris (see function CL_eph_de405Load).

pos:

Position of body, relative to orig, in ICRS frame (3xN)

vel:

Velocity of body, relative to orig, in ICRS frame (3xN)

acc:

Acceleration of body, relative to orig, in ICRS frame (3xN)

Authors

See also

Examples

// Position of Mars in ICRS (Origin = Earth)
cjd = 21915:21920;
pos = CL_eph_de405("Mars", cjd, "Earth");

// Position, velocity, acceleration of Jupiter in ICRS (Origin = Solar system barycenter)
cjd = 21915:21920;
[pos, vel, acc] = CL_eph_de405("Jupiter", cjd);

Report an issue
<< Models Models CL_eph_de405Load >>