Eclipse interval for circular or elliptical orbits.
[half_span,mid_pos] = CL_gm_betaEclipse(sma,betaa [,ecc,argsp,er])
Computes quantities that characterize the portion of the orbit path where the Sun is eclipsed by the planet as seen from the satellite.
The shadow region is a cylinder whose axis is the (fixed) Sun direction and whose radius is that of the planet (assumed spherical).
The computed quantities are:
- half_span: eclipse interval half-length (in true anomaly)
- mid_pos: anomaly of mid-eclipse, measured from the projection of the Sun direction onto the orbit plane.
The true anomalies that correspond to the beginning and end of eclipse (resp. tan_beg and tan_end) can then be computed by:
tan_beg = mid_pos - argsp - half_span
tan_end = mid_pos - argsp + half_span
where argsp is the angle between the projection of the Sun direction onto the orbit plane and the direction of the periapsis.
If the Sun is not eclipsed, half_span is set to 0, and mid_pos to pi (arbitrarily).
Notes:
- The trajectory of the satellite is an ellipse (no perturbations assumed).
- If the orbit is circular (ecc = 0), the value of argsp has no impact on the results.
Semi major axis [m] (1xN or 1x1)
Sun beta angle (can be positive or negative) [rad] (1xN or 1x1)
(optional) Eccentricity. Default value is 0. (1xN or 1x1)
(optional) Angle between the Sun direction and the periapsis in the orbit plane. Same sign convention as for the argument of periapsis. Default value is 0. (1xN or 1x1)
(optional) Planet radius (default is %CL_eqRad) [m] (1xN or 1x1)
Eclipse interval half-length (in true anomaly) [rad] (1xN)
Angle from the Sun direction in the orbit plane defining the middle of the eclipse interval [rad] (1xN)
CNES - DCT/SB