Moon and Sun positions in Gamma50 (Veis) reference frame
[u_body,r_body] = CL_mod_moonSunG50(cjd, body) [u_moon,r_moon,u_sun,r_sun] = CL_mod_moonSunG50(cjd)
Computes the Moon and/or Sun positions relative to Gamma50 (Veis) reference frame using a simplified version of BROWN theories for the moon and NEWCOMB for the Sun.
The Moon or Sun position is defined by a unit vector u_body and a distance r_body from the Earth centre to the centre of the body.
Either the Moon position, the Sun position or both can be computed.
Modified (1950.0) julian day (TUC) (1xN)
(string, optional) Type can be 'm' or 'moon' for the moon,'s' or 'sun' for the Sun (or 'b' or 'both' for both).
Unit vector from Earth to body [rx;ry;rz] (3xN)
Distance from Earth to body [m] (1xN)
1 CNES - MSLIB FORTRAN 90, Volume S (ms_pos_soleil_lune)
CNES - DCT/SB