edu.pdx.starview.calc
Class KSNumbers
java.lang.Object
edu.pdx.starview.calc.KSNumbers
- public class KSNumbers
- extends java.lang.Object
There are several time-dependent values used in position calculations,
that are not specific to an object. This class provides
storage for these values, and methods for calculating them for a given date.
The numbers include solar data like the true/mean solar anomalies
and longitudes, the longitude of the Earth's perihelion, the
eccentricity of Earth's orbit, the constant of aberration, the obliquity of the Ecliptic, the effects of
Nutation (delta Obliquity and delta Ecliptic longitude),
the Julian Day/Century/Millenium, and arrays for computing the precession.
Credits: This code was based on the source for KStars-20040229
- Author:
- Dave Camarillo, Jason Harris
Constructor Summary |
KSNumbers(double jd)
Constructor. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NUTTERMS
public static final int NUTTERMS
- See Also:
- Constant Field Values
KSNumbers
public KSNumbers(double jd)
- Constructor.
- Parameters:
jd
- Julian Date that the calculations should be made for.
obliquity
public SVAngle obliquity()
constAberr
public SVAngle constAberr()
sunMeanAnomaly
public SVAngle sunMeanAnomaly()
sunMeanLongitude
public SVAngle sunMeanLongitude()
sunTrueAnomaly
public SVAngle sunTrueAnomaly()
sunTrueLongitude
public SVAngle sunTrueLongitude()
earthPerihelionLongitude
public SVAngle earthPerihelionLongitude()
earthEccentricity
public double earthEccentricity()
dObliq
public double dObliq()
dEcLong
public double dEcLong()
julianCenturies
public double julianCenturies()
julianDay
public double julianDay()
julianMillenia
public double julianMillenia()
p1
public double p1(int i1,
int i2)
p2
public double p2(int i1,
int i2)
p1b
public double p1b(int i1,
int i2)
p2b
public double p2b(int i1,
int i2)
getDeclAnddObq
public void getDeclAnddObq(SVAngle outdEcl,
SVAngle outdObq)
- Returns the nutition in longitude and obliquity
- Parameters:
outdEcl
- output nutition in longitudeoutdObq
- output nutition in obliquidty