<< CL_gm_eclipseCheck Geometry and events CL_gm_inertial2orbitSph >>

CelestLab >> Geometry and events > CL_gm_eclipseCir

CL_gm_eclipseCir

Analytical eclipse calculation for circular orbits

Calling Sequence

res = CL_gm_eclipseCir(sma,inc,raan,alpha_sun,delta_sun [,er,mu])

Description

Parameters

sma:

Semi major axis [m] (1xN)

inc:

Inclination [rad] (1xN)

raan:

Right ascension of ascending node [rad] (1xN)

alpha_sun:

Sun right ascension [rad] (1xN)

delta_sun:

Sun declination [rad] (1xN)

er:

(optional) Equatorial radius [m] (default is %CL_eqRad)

mu:

(optional) Gravitational constant [m^3/s^2] (default value is %CL_mu)

res:

(structure) Various quantities that define the eclipse [rad,sec] (each field is 1xN)

Authors

See also

Examples

cjd = CL_dat_cal2cjd(2009,03,21,6,0,0);
pos_sun = CL_eph_sun(cjd);
pos_sun_sph = CL_co_car2sph(pos_sun);
alpha_sun = pos_sun_sph(1);
delta_sun = pos_sun_sph(2);
raan = 0;
sma = 7300.e3;
inc = CL_deg2rad(98);
res = CL_gm_eclipseCir(sma,inc,raan,alpha_sun,delta_sun);
res.start
res.end
res.sun_orb
res.angle
res.duration

Report an issue
<< CL_gm_eclipseCheck Geometry and events CL_gm_inertial2orbitSph >>