|
JEphem site JEphem API |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--TestVSOP87
Contains methods used to test package jephem.astro.planets.vsop87
.
JEphem program doesn't use it ; it was used to build JEphem.
This class is dependant from jephem
package, which must be in the classpath.
In this class, when arrays characterizing planetary data were needed (ex : for "planetNames"), the indexes of jephem.astro.SolarSystemConstants.java
were used.
Field Summary |
Fields inherited from interface jephem.astro.SolarSystemConstants |
E0_1900, E0_1950, E0_2000, EARTH, JUPITER, KM_PER_AU, MARS, MERCURY, MOON, NB_BODIES, NEPTUNE, PLUTO, SATURN, SIDERAL_RATE, SUN, URANUS, VENUS |
Constructor Summary | |
TestVSOP87()
|
Method Summary | |
static void |
main(java.lang.String[] args)
Entry point to call the different methods of the class. |
static void |
testJEphemPrecision(java.lang.String checkFile,
java.lang.String strJD,
java.lang.String strNbPlan,
java.lang.String strFilter,
java.lang.String outputType,
java.lang.String outputFile)
Method used to test results from JEphem compared with BDL text files. |
static void |
testPerf(java.lang.String strNbDates,
java.lang.String strBaseJD,
java.lang.String strPrecision)
Calls jephem.astro.planets.vsop87.VSOP87 several times and displays the time taken by the
computations. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TestVSOP87()
Method Detail |
public static void main(java.lang.String[] args)
args
is "testPerf", testPerf()
is called.
testJEphemPrecision()
is called.
public static void testJEphemPrecision(java.lang.String checkFile, java.lang.String strJD, java.lang.String strNbPlan, java.lang.String strFilter, java.lang.String outputType, java.lang.String outputFile)
TestVSOP87 vsop87A.chk 10 8 FULL DETAIL,DIFF,SUMMARY test_jephem_full.htm
checkFile
- : Name of a file containing extracts from ftp://ftp.bdl.fr/pub/planets/... VSOP87.chk,
containing only the tests for the concerned version.
strNbPlan
- Number of planets concerned with the tests.strFilter
- Part of JEphem to test (full precision, truncated). Can take the values "JEPHEM"
or "BDL" or "FULL".outputType
- Output to generate : can be :
outputFile
- Name of the file to be generated (HTML format).public static void testPerf(java.lang.String strNbDates, java.lang.String strBaseJD, java.lang.String strPrecision)
jephem.astro.planets.vsop87.VSOP87
several times and displays the time taken by the
computations.
|
JEphem site JEphem API |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |