PlanetHelioPhase:

Path: Orbit/Interplanetary

% Compute the phase angle in the ecliptic plane of a given planet at jD.
   Uses PlanetPosJPL.

   Since version 2014.1
--------------------------------------------------------------------------
   Form:
   theta = PlanetHelioPhase( kPlanet, jD );
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   kPlanet   (1,1)   Index of planet (e.g. 3 is Earth)
   jD        (1,1)   Julian date

   -------
   Outputs
   -------
   theta     (1,1)   Phase angle of planet in x-y (ecliptic) plane

--------------------------------------------------------------------------

Children:

SC: Ephem/CEcl2Eq
SC: Ephem/InterpolateState
SC: Ephem/PlanetPosJPL
SC: SCData/bin2000
Common: Time/DTSToDTA
Common: Time/Date2JD
Common: Time/JD2000

Back to the Orbit Module page