<< 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. Default: %CL_eqRad. [m] (1x1)

mu:

(optional) Gravitational constant. Default: %CL_mu. [m^3/s^2] (1x1)

res:

(structure) Results (see description above). [rad or sec] (each field is 1xN)

Authors

See also

Examples

cjd = CL_dat_cal2cjd(2009, 03, 21, 06, 00, 00);
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 >>