<< CL_ev_stationVisibility 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;
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);
betaa = %pi/4;
inc = CL_deg2rad(98.7);
[raan1,raan2] = CL_gm_beta2raan(betaa,inc,alpha_sun,delta_sun)

Report an issue
<< CL_ev_stationVisibility Geometry and events CL_gm_betaEclipse >>