Astronomical Applications Department, U.S. Naval Observatory NOVASC Page 15
ASTRO_STAR
short int astro_star (double tjd, short int earth, fk5_entry *star,
double *ra, double *dec)
PURPOSE:
Computes the astrometric place of a star, given its mean place,
proper motion, parallax, and radial velocity for J2000.0.
INPUT
ARGUMENTS:
tjd (double)
TDT Julian date for astrometric place.
earth (short int)
Body identification number for the Earth.
*star (struct fk5_entry)
Pointer to catalog entry structure (defined in novas.h).
OUTPUT
ARGUMENTS:
*ra (double)
Astrometric right ascension in hours, referred to mean equator
and equinox of J2000.
*dec (double)
Astrometric declination in degrees, referred to mean equator
and equinox of J2000.
RETURNED
VALUE:
(short int)
0...Everything OK.
>0...Error code from function 'solarsystem'.
arguments and use. Here, however, the output arguments provide the astrometric place of the star.