<< CL_eph_planet Models CL_fo_albedoAcc >>

CelestLab >> Models > CL_eph_sun

CL_eph_sun

Earth-Sun position and velocity vectors

Calling Sequence

[pos_sun, vel_sun] = CL_eph_sun(cjd [,tt_tref,frame,model])

Description

Parameters

cjd:

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

tt_tref:

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) Accuracy of the model. "med" or "high". Default is "med". (1x1)

pos_sun :

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

vel_sun :

Earth-Sun 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_sun_ECI = CL_eph_sun(cjd)

// Higher precision, in EOD frame, with velocity
[pos_sun_EOD, vel_sun_EOD] = CL_eph_sun(cjd , frame="EOD", model="high");

Report an issue
<< CL_eph_planet Models CL_fo_albedoAcc >>