All Packages Class Hierarchy This Package Previous Next Index
Class JObserve.Ephemeris
java.lang.Object
|
+----JObserve.Ephemeris
- public class Ephemeris
- extends Object
Solar system Ephemeris utility library
This class is never instantiated and consists entirely of static functions.
All angles are radians.
All times are J2000 based and are days.
Low Precision method for calculating Solar system positions
Planetary Programs and Tables -4000 to +2800
Pierre Bretagnon and Jean-Louis Simon
Willman-Bell 1986.
Time is good from 1985 to 2000.
-
B1900
-
-
EARTH
-
-
giant_tim
-
-
J2000
-
-
JD1800
-
-
JUPITER
-
-
MARS
-
-
MERCURY
-
-
MOON
-
-
NEPTUNE
-
-
NUM_FIVE
-
-
NUM_SOLAR_SYSTEM
-
-
PLUTO
-
-
SATURN
-
-
SUN
-
-
URANUS
-
-
VENUS
-
-
Ephemeris()
-
-
ConvertIAT2JD(double)
- Convert IAT to JD
-
ConvertJD2ET(double)
- Convert jd to ET
-
ConvertLBToRADec(double, SphereCords, SphereCords, boolean)
- Convert to Geocentric latitude and longitude from Heliocentric coordinates
(Not sure this is right, copied from the c version)
-
ConvertRADecToLB(double, double, double)
- Convert ra/dec to something else (LB)
-
FindHelioLB(double, SphereCords, int)
- Get heliocentric position of planets
Moon coordinates are geocentric and not heliocentric.
-
PrecessElements(double, PrecessedElements, int)
- Get precessed orbital elements for the Sun or Moon
Sun is from page 98 of Explantory Supplement to the AE and NA
Moon is from page 107.
SUN
public static final int SUN
MERCURY
public static final int MERCURY
VENUS
public static final int VENUS
EARTH
public static final int EARTH
MARS
public static final int MARS
JUPITER
public static final int JUPITER
SATURN
public static final int SATURN
URANUS
public static final int URANUS
NEPTUNE
public static final int NEPTUNE
PLUTO
public static final int PLUTO
MOON
public static final int MOON
NUM_FIVE
public static final int NUM_FIVE
NUM_SOLAR_SYSTEM
public static final int NUM_SOLAR_SYSTEM
JD1800
public static final double JD1800
B1900
public static final double B1900
J2000
public static final double J2000
giant_tim
public static final double giant_tim[]
Ephemeris
public Ephemeris()
PrecessElements
public static void PrecessElements(double iat,
PrecessedElements PE,
int Object)
- Get precessed orbital elements for the Sun or Moon
Sun is from page 98 of Explantory Supplement to the AE and NA
Moon is from page 107.
- Parameters:
- the - IAT time
- (output) - orbital elements of the object
- SUN - or MOON
FindHelioLB
public static void FindHelioLB(double iat,
SphereCords LB,
int Object)
- Get heliocentric position of planets
Moon coordinates are geocentric and not heliocentric.
- Parameters:
- the - IAT time
- (output) - spherical coordinates of object
- SUN, - MERCURY, VENUS, EARTH, MARS, JUPITER, SATURN,
URANUS, NEPTUNE, PLUTO, or MOON
ConvertIAT2JD
public static double ConvertIAT2JD(double iat)
- Convert IAT to JD
- Parameters:
- IAT - in seconds
- Returns:
- JD in days.
ConvertJD2ET
public static double ConvertJD2ET(double jd)
- Convert jd to ET
- Returns:
- ET in days(?)
ConvertRADecToLB
public static double[] ConvertRADecToLB(double iat,
double ra,
double dec)
- Convert ra/dec to something else (LB)
- Parameters:
- the - IAT time
- Right - Ascension
- Returns:
- {lambda, beta} longitude and latitude
ConvertLBToRADec
public static void ConvertLBToRADec(double iat,
SphereCords Sun,
SphereCords RaDec,
boolean GeoCentric)
- Convert to Geocentric latitude and longitude from Heliocentric coordinates
(Not sure this is right, copied from the c version)
- Parameters:
- the - IAT time
- location - of the sun
- returned - RA/Dec
- true - if geocentric
All Packages Class Hierarchy This Package Previous Next Index