Click or drag to resize
NOVAS3ReadEph 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: (
public double[] ReadEph(
	int Mp,
	string Name,
	double Jd,
	ref int Err


Type: SystemInt32
The number of the asteroid for which the position in desired.
Type: SystemString
The name of the asteroid.
Type: SystemDouble
The Julian date on which to find the position and velocity.
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.
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:

See Also