Path: SC/Environs
% Computes the albedo and radiation flux for planets. Uses the Constant database for planetary constants and the Planets function to determine the average planetary distance for solar flux. Type PlanetaryRadiationAndAlbedo for a demo at Mars and the Earth. See also SolarFlx, EarthAlb, EarthRad -------------------------------------------------------------------------- Form: PlanetaryRadiationAndAlbedo( 'initialize', planet ) [qR, qA] = PlanetaryRadiationAndAlbedo( 'update', r, uS ) -------------------------------------------------------------------------- ------ Inputs ------ action (1,:) 'initialize' or 'update' r (3,:) Satellite position relative to center or planet name or the planet name if action is 'initialize' uS (3,1) Unit vector to the Sun ------- Outputs ------- qR (1,:) Radiation flux qA (1,:) Albedo flux --------------------------------------------------------------------------
Common: Database/Constant Common: Graphics/Plot2D Math: Linear/Mag Math: Linear/Unit SC: Environs/EarthAlb SC: Environs/EarthRad SC: Environs/SolarFlx SC: Ephem/Planets
Back to the SC Module page