EclipseHelio:

Path: SC/Ephem

% Determines eclipses in heliocentric coordinates.

 You must initialize the JPL ephemerides prior to using this function.
 For example, with the earth and moon.

   PlanetPosJPL( 'initialize', [3 10] );

--------------------------------------------------------------------------
   Form:
   nEclipse = EclipseHelio( r, rP, planetID )
   nEclipse = EclipseHelio( r, [], planetID, jD )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   r         (3,1) Position vector of spacecraft (km)
   rP        (3,:) Heliocentric planet positions
   planetID  (1,:) Planet IDs corresponding to the output of PlanetPosJPL
   jD        (1,:) Julian dates

   -------
   Outputs
   -------
   nEclipse	(1,:) Eclipse fraction

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

Children:

SC: Ephem/CEcl2Eq
SC: Ephem/Eclipse
SC: Ephem/InterpolateState
SC: Ephem/PlanetPosJPL
SC: SCData/bin2000
Common: CommonData/SwooshWatermark
Common: General/CellToMat
Common: General/DeBlankLT
Common: General/MatToCell
Common: General/Watermark
Common: Graphics/NPlot
Common: Graphics/NewFig
Common: Graphics/Plot2D
Common: Graphics/PltStyle
Common: Graphics/XLabelS
Common: Graphics/YLabelS
Common: Time/DTSToDTA
Common: Time/Date2JD
Common: Time/JD2000
Math: Linear/Dot
Math: Linear/DupVect
Math: Linear/Mag

Back to the SC Module page