ECIToPlanet:

Path: SC/Ephem

% Computes the matrix from mean of Aries 2000 to planet fixed frame. 
 Includes all of the planets and many of the moons. Returns the identity 
 matrix if the moon is unknown. For the Earth's moon it returns the true
 rotation matrix.
--------------------------------------------------------------------------
   Form:
   c = ECIToPlanet( jD, planet, kEarth )	
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   jD         (1,1)  Julian date
   planet     (1,:)  Name of the planet
   kEarth     (1,1)  If 0 use TruEarth, if 1 is TruEarth with eofe,
                     if <0 use Montenbruck (see also ECIToEF)

   -------
   Outputs
   -------
   c         (3,3)  Matrix from Mean of 2000.0 to planet fixed

--------------------------------------------------------------------------
   References: Seidelmann, ed. The Explanatory Supplement to the 
               Astronomical Almanac, University Science Books, 1992,
               p. 705.
--------------------------------------------------------------------------

Children:

Common: Database/Constant
Common: Graphics/Plot2D
Common: Time/Date2JD
Common: Time/JD2T
Common: Time/T2JD
OrbitMiniToolbox: Support/TruEarth
SC: Ephem/MoonRot
SC: Ephem/Moons

Back to the SC Module page