Click or drag to resize
NOVAS31ReadEph Method
Produces the Cartesian heliocentric equatorial coordinates of the asteroid for the J2000.0 epoch coordinate system from a set of Chebyshev polynomials read from a file.

Namespace: ASCOM.Astrometry.NOVAS
Assembly: ASCOM.Astrometry (in ASCOM.Astrometry.dll) Version: 6.0.0.0 (6.3.0.2839)
Syntax
public double[] ReadEph(
	int Mp,
	string Name,
	double Jd,
	ref int Err
)

Parameters

Mp
Type: SystemInt32
The number of the asteroid for which the position in desired.
Name
Type: SystemString
The name of the asteroid.
Jd
Type: SystemDouble
The Julian date on which to find the position and velocity.
Err
Type: SystemInt32
 = 0 ( No error )
 = 1 ( Memory allocation error )
 = 2 ( Mismatch between asteroid name and number )
 = 3 ( Julian date out of bounds )
 = 4 ( Cannot find Chebyshev polynomial file )
 

Return Value

Type: Double
6-element array of double containing position and velocity vector values.
Remarks
The file name of the asteroid is taken from the name given. It is assumed that the name is all in lower case characters.

This routine will search in the application's current directory for a file of Chebyshev polynomial coefficients whose name is based on the provided Name parameter: Name.chby

Further information on using NOVAS with minor planet data is given here: http://www.usno.navy.mil/USNO/astronomical-applications/software-products/usnoae98

See Also