<< CL_eph_moon Models CL_eph_sun >>

CelestLab >> Models > CL_eph_planet

CL_eph_planet

Planet position and velocity vectors in EOD frame

Calling Sequence

[pos,vel] = CL_eph_planet(planet, cjd, [,tt_tref, model])

Description

Parameters

planet:

(string) Name of planet ("Mercury","Venus","Earth","Mars","Jupiter","Saturn","Uranus" or "Neptune") (1x1)

cjd:

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

tt_tref:

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

model :

(optional, string) Name of the model. "med", "high" or "full". Default is "med". (1x1)

pos :

Planet position vector in output frame [m] (3xN)

vel :

Planet velocity vector in output frame [m/s] (3xN)

Bibliography

Authors

See also

Examples

cjd = CL_dat_cal2cjd(2010,02,03,05,35,25);

// Default = standard precision
pos_mars = CL_eph_planet("Mars", cjd)

// Higher precision
[pos_uranus_EOD,vel_uranus_EOD] = CL_eph_planet("Uranus", cjd, model = "high");

// Maximum precision
[pos_saturn_EOD,vel_saturn_EOD] = CL_eph_planet("Saturn", cjd, model = "full");

Report an issue
<< CL_eph_moon Models CL_eph_sun >>