<< CL_gm_eclipseCir Geometry and events CL_gm_inters3dConesSa >>

celestlab >> Geometry and events > CL_gm_inertial2orbitSph

CL_gm_inertial2orbitSph

Spherical coordinates conversion from an inertial frame to an orbit frame

Calling Sequence

[alpha2, delta2] = CL_gm_inertial2orbitSph(inc, raan, alpha1, delta1)

Description

Parameters

inc:

Orbit's inclination [rad] (1xN or 1x1)

raan:

Orbit's right ascension of the ascending node [rad] (1xN or 1x1)

alpha1:

Right ascension in inertial frame [rad] (1xN or 1x1)

delta1:

Declination in inertial frame [rad] (1xN or 1x1)

alpha2:

Right ascension in orbit frame [rad] (1xN)

delta2:

Declination in orbit frame [rad] (1xN)

Authors

Examples

inc = 1.5;
raan = 1;
alpha1 = 2.2;
delta1 = 0.7;

[alpha2, delta2] = CL_gm_inertial2orbitSph(inc,raan,alpha1,delta1);
// Check result
[alpha1b, delta1b] = CL_gm_orbit2inertialSph(inc,raan,alpha2,delta2)

Report an issue
<< CL_gm_eclipseCir Geometry and events CL_gm_inters3dConesSa >>