<< CL_ev_visibility Geometry and events CL_gm_betaEclipse >>

CelestLab >> Geometry and events > CL_gm_beta2raan

CL_gm_beta2raan

Beta angle to right ascension of ascending node

Calling Sequence

[raan1,raan2] = CL_gm_beta2raan(betaa,inc,alpha_sun,delta_sun)

Description

Parameters

betaa:

Beta angle [rad] (1xN)

inc:

Inclination of the orbit [rad] (1xN)

alpha_sun:

Sun right ascension [rad] (1xN)

delta_sun:

Sun declination [rad] (1xN)

raan1:

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

raan2:

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

See also

Authors

Examples

// Get alpha_sun and delta_sun
cjd = 20050;
[r_sun,rs] = CL_mod_moonSunG50(cjd,'s');
r_sph = CL_co_car2sph(r_sun);
alpha_sun = r_sph(1);
delta_sun = r_sph(2);
betaa = %pi/4;
inc = CL_deg2rad(98.7);
[raan1,raan2] = CL_gm_beta2raan(betaa,inc,alpha_sun,delta_sun)
<< CL_ev_visibility Geometry and events CL_gm_betaEclipse >>