Path: LunarMissions/LunarMission
% Computes visibility of a satellite in lunar orbit. Uses the Clementine surface model. The orbit is in the inertial frame but lunar centric. Type LunarVisibility for a demo. -------------------------------------------------------------------------- Form: kVis = LunarVisibility( lat, lon, jD0, r, t, nH ) -------------------------------------------------------------------------- ------ Inputs ------ lat (1,1) Latitude of the ground target (rad) lon (1,1) Longitude of the ground target (rad) jD0 (1,1) Julian data of start (days) r (3,:) ECI frame orbit (rad) t (1,:) Times corresponding to points in r (s) nH (1,1) Number of harmonics in the surface model (72 maximum) ------- Outputs ------- kVis (1,:) 1 if the satellite is visible, 0 if not -------------------------------------------------------------------------- See also RSHMoon. --------------------------------------------------------------------------