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/PlanetPosJPL

Back to the Orbit Module page