Find Docs

Astronomical Applications Department, U.S. Naval Observatory - NOVASC (Page 9)

Wodocs >> Science : Astronomy >> Astronomical Applications Department, U.S. Naval Observatory NOVASC Page 9
Astronomical Applications Department, U.S. Naval Observatory - NOVASC
APP_PLANET


short int app_planet (double tjd, short int planet, short int earth,
double *ra, double *dec, double *dis)
PURPOSE:
Compute the apparent place of a planet or other solar system body.
INPUT
ARGUMENTS:
tjd (double)
TDT Julian date for apparent place.
planet (short int)
Body identification number for desired planet.
earth (short int)
Body identification number for the Earth.
OUTPUT
ARGUMENTS:
*ra (double)
Apparent right ascension in hours, referred to true equator
and equinox of date 'tjd'.
*dec (double)
Apparent declination in degrees, referred to true equator
and equinox of date 'tjd'.
*dis (double)
True distance from Earth to planet at 'tjd' in AU.
RETURNED
VALUE:
(short int)
0...Everything OK.
>0...Error code from function 'solarsystem'.
Discussion:
This function computes the apparent place of a planet or other solar system body by calling function
solarsystem to obtain its rectangular coordinates, along with those of the Earth. Other utility- and basic-
level functions are also called. The user's choice of the version of solarsystem to be used determines the
values of the arguments
planet
and
earth
, which identify the planet and the Earth, respectively. The
source of the rectangular coordinates is, of course, also determined by the version of solarsystem in use.
Efficiency is maximized when successive calls to app_planet have the same value for
tjd
, since some
quantities which are functions only of time are thereby saved and reused.

<< Previous       1 .. 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16       Next >>



Other Documents:
novas c 2 doc, Beam Comp Example, moonpoly 2002, Newcomb, Newcomb Manual, Data Flow Diagrams, participant list, vondrak, zacharias, curvpath, pm AAS poster, Gaussian Distribution, Linear Least Squares, Sensitivity Integral, 3 D plot fits, lyap2, NAO 150, Rotate Vector, lyapcalc, wedges, Scifull, Precession Memo, Precession Maple, Curves 3 D, NOVAS 2004 Overview, NOVAS 2006 Overview, thesis, Ranson,


WODocs | |
All rights reserved. wodocs.com© 2009
WODocs


New Docs

Documents Category:
Arts (Design, Movies, Music, Radio, Television)
Automotive (Cars, Marine, Motorcycle, ATV, Snowmobiles)
Business (Biotechnology and Pharmaceuticals, Chemicals, Construction and Maintenance, Materials, Real Estate, Services)
Electronics (Computers, Motion Control, Power Supply)
Games (Board, Family, Party, Card, Construction, RC Toys)
Health (Animalm, Beauty, Healthcare, Medicine, Pharmacy, Surgery, Weight Loss)
Home (Accessories, Cooking, Decor and Design, Electrical, Family, Pets)
News (Newspapers, Sports, Television)
Recreation (Collecting, Hiking, Scouting, Survival, Travel)
Reference (Education, Libraries and Archives, Museums)
Science (Agriculture, Astronomy, Biology, Chemistry)
Shopping (Antiques and Collectibles, Clothing, Flowers, Food, Home and Garden)
Sports (Bicycle, Snowboard, Skiing, Other)