<< CL_eph_de405LoadT Models CL_eph_planet >>

CelestLab >> Models > CL_eph_moon

CL_eph_moon

Earth-Moon position and velocity vectors

Calling Sequence

[pos_moon, vel_moon] = CL_eph_moon(cjd [,tt_tref,frame,model])

Description

Parameters

cjd:

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

tt_tref:

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

frame:

(optional, string) Name of the output frame. Can be "EOD" or "ECI". Default is "ECI" (1x1)

model :

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

pos_moon :

Earth-Moon position vector in output frame [m] (3xN)

vel_moon :

Earth-Moon 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, in ECI frame
pos_moon_ECI = CL_eph_moon(cjd)

// Higher precision, in EOD frame, and with velocity
[pos_moon_EOD, vel_moon_EOD] = CL_eph_moon(cjd , frame="EOD", model="high");

// Maximum precision (ELP/MPP02 lunar theory)
[pos_moon_EOD, vel_moon_EOD] = CL_eph_moon(cjd , frame="EOD", model="ELP");

Report an issue
<< CL_eph_de405LoadT Models CL_eph_planet >>