|
mhuss utils 1.1.5ws | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.mhuss.AstroLib.Nutation
public class Nutation
Nutation functions and static data.
Based on C code from Bill Gray (www.projectpluto.com)
Constructor Summary | |
---|---|
Nutation()
Default constructor. |
|
Nutation(double t)
Time only constructor. |
|
Nutation(double t,
double dP,
double dE)
Explicit (all values) constructor. |
Method Summary | |
---|---|
void |
calc(double t)
Calculate nutation values. |
void |
calcDeltaEpsilon(double t)
Calculate delta Epsilon nutation value only. |
void |
calcDeltaPhi(double t)
Calculate delta Phi nutation value only. |
double |
getDEpsilon()
Delta Epsilon value. |
double |
getDPhi()
Delta Phi value. |
static void |
main(java.lang.String[] args)
(for unit testing only) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Nutation()
public Nutation(double t)
t
- Time in Julian centuries from J2000.public Nutation(double t, double dP, double dE)
t
- Time in Julian centuries from J2000.dP
- delta phi valuedE
- delta epsilon valueMethod Detail |
---|
public double getDPhi()
This value represents nutation (delta phi) in arcseconds
public double getDEpsilon()
This value represents nutation (delta epsilon) in arcseconds
public void calc(double t)
Either dPhi or dEpsilon can be Astro.INVALID on input, in which case that value is not computed. (we added this because sometimes, you want only dPhi or dEpsilon; in such cases, computing _both_ is a waste of perfectly good CPU time).
t
- Time in Julian centuries from J2000.public void calcDeltaPhi(double t)
The current delta Epsilon value is preserved.
t
- Time in Julian centuries from J2000.public void calcDeltaEpsilon(double t)
The current delta Phi value is preserved.
t
- Time in Julian centuries from J2000.public static void main(java.lang.String[] args)
|
mhuss utils 1.1.5ws | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |