Find Docs

Astronomical Applications Department, U.S. Naval Observatory - novas c 2 doc (Page 13)

Wodocs >> Science : Astronomy >> Astronomical Applications Department, U.S. Naval Observatory novas c 2 doc Page 13
Astronomical Applications Department, U.S. Naval Observatory - novas c 2 doc
13
4.0 Important Functions in NOVAS-C
4.1
APP_STAR
short int app_star (double tjd, body *earth, cat_entry *star,
double *ra, double *dec)
PURPOSE:
Computes the apparent place of a star at date 'tjd', given its
mean place, proper motion, parallax, and radial velocity for
J2000.0.
INPUT
ARGUMENTS:
tjd (double)
TT (or TDT) Julian date for apparent place.
*earth (struct body)
Pointer to structure containing the body designation for the
Earth (defined in novas.h).
*star (struct cat_entry)
Pointer to catalog entry structure containing J2000.0 catalog
data with FK5-style units (defined in novas.h).
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'.
RETURNED
VALUE:
(short int)
0...Everything OK.
>0...Error code from function 'solarsystem'.
Discussion:
This function computes the apparent place of a star. The word "star" as used here
refers to any object outside the solar system. If the values of
promora
,
promodec
,
parlax
, or
radvel
within structure
star
are unknown (or zero within the errors of
measurement), the calling program should set them to zero. For extragalactic objects,
these input values should be set to zero. The user's choice of the version of function
solarsystem determines the value of the argument
earth
that the calling program must
supply to app_star.
"Loose" catalog data can be assembled into a structure of type cat
_entry
by using
function make_cat_entry.

<< Previous       1 .. 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20       Next >>



Other Documents:
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)