public static double[] ReadEph(
int Mp,
string Name,
double Jd,
ref int Err
)Public Shared Function ReadEph (
Mp As Integer,
Name As String,
Jd As Double,
ByRef Err As Integer
) As Double()
= 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 )
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