Click or drag to resize
NOVAS2MeanStar Method
Computes the mean place of a star for J2000.0

Namespace: ASCOM.Astrometry.NOVAS
Assembly: ASCOM.Astrometry (in ASCOM.Astrometry.dll) Version: 6.0.0.0 (6.3.0.2839)
Syntax
public static short MeanStar(
	double tjd,
	ref BodyDescription earth,
	double ra,
	double dec,
	ref double mra,
	ref double mdec
)

Parameters

tjd
Type: SystemDouble
TT (or TDT) Julian date of apparent place.
earth
Type: ASCOM.AstrometryBodyDescription
Pointer to structure containing the body designation for the Earth
ra
Type: SystemDouble
Apparent right ascension in hours, referred to true equator and equinox of date 'tjd'.
dec
Type: SystemDouble
Apparent declination in degrees, referred to true equator and equinox of date 'tjd'.
mra
Type: SystemDouble
OUT: Mean right ascension J2000.0 in hours.
mdec
Type: SystemDouble
OUT: Mean declination J2000.0 in degrees.

Return Value

Type: Int16
   0...Everything OK.
   1...Iterative process did not converge after 20 iterations.
 >10...Error from function 'app_star'.
Remarks
Computes the mean place of a star for J2000.0, given its apparent place at date 'tjd'. Proper motion, parallax and radial velocity are assumed to be zero.
See Also