Path: SC/Environs
% Compute the environment parameters for the Earth.
This data is required by the disturbance model. In order to calculate
drag, the velocity must be computed relative to the atmosphere; this
routine uses a simplified calculation that ignores Earth nutation.
This routine calculates eclipses. A simple dipole model is used for the
magnetic field.
--------------------------------------------------------------------------
Forms:
e = EarthEnvironment( rECI, vECI, jD, e )
--------------------------------------------------------------------------
-----
Input
-----
rECI (3,:) Position vectors in ECI frame
vECI (3,:) Velocity vectors
jD (1,:) Time scalar or array in Julian date
e (.) Initial structure
------
Output
------
e (.) Environment data with updated data, see Disturbances
.nEclipse (1,1) normalized source intensity
--------------------------------------------------------------------------
See also: AtmDens2, SunV2, Eclipse, BDipole, VAtm, Disturbances
--------------------------------------------------------------------------
AerospaceUtils: AtmosphericCalculations/AtmDens2 Orbit: OrbitSim/RVOrbGen SC: Environs/BDipole SC: Environs/VAtm SC: Ephem/Eclipse SC: Ephem/SunV2 SC: Visualization/PlotPlanetOrbit Common: Database/Constant Common: Graphics/Plot2D Common: Graphics/TimeLabel Common: Time/JD2000 Math: Linear/Mag
Back to the SC Module page