|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--astro32.Astro32
Insert the type's description here. Creation date: (8/18/01 3:27:31 PM)
Field Summary | |
private static double |
aaha_aux_clat
|
private static double |
aaha_aux_last_lat
|
private static double |
aaha_aux_slat
|
static int |
DATE_DMY
|
static int |
DATE_LOCALTZ
|
static int |
DATE_MDY
|
static int |
DATE_UTCTZ
|
static int |
DATE_YMD
|
(package private) static short[] |
dpm
|
(package private) static double |
gst_utc_lastmjd
|
(package private) static double |
gst_utc_t0
|
static double |
J2000
|
static int |
JUPITER
|
(package private) static double |
last_dy
|
(package private) static double |
last_mjd
|
(package private) static int |
last_mn
|
(package private) static int |
last_yr
|
static int |
MARS
|
static int |
MERCURY
|
static double |
MJD0
|
static int |
MOON
|
static int |
NEPTUNE
|
static int |
NOBJ
|
static int |
OBJX
|
static int |
OBJY
|
static int |
OBJZ
|
static double |
PI
|
static int |
PLUTO
|
static int |
SATURN
|
static double |
SIDRATE
|
static double |
SPD
|
static int |
SUN
|
static int |
URANUS
|
(package private) static double |
utc_gst_lastmjd
|
(package private) static double |
utc_gst_t0
|
static int |
VENUS
|
Constructor Summary | |
Astro32()
|
Method Summary | |
static void |
aa_hadec(double lat,
double alt,
double az,
utilities.DoubleRef ha,
utilities.DoubleRef dec)
given geodetic latitude (n+, radians), lat, altitude (up+, radians), alt, and azimuth (angle round to the east from north+, radians), return hour angle (radians), ha, and declination (radians), dec. |
static void |
aaha_aux(double lat,
double x,
double y,
utilities.DoubleRef p,
utilities.DoubleRef q)
Insert the method's description here. |
static void |
cal_mjd(int mn,
double dy,
int yr,
utilities.DoubleRef mjd)
given a date in months, mn, days, dy, years, yr, return the modified Julian date (number of days elapsed since 1900 jan 0.5), *mjd. |
static double |
deghr(double x)
conversions among hours (of ra), degrees and radians Creation date: (8/19/01 4:26:06 PM) |
static double |
degrad(double x)
conversions among hours (of ra) or degrees and radians Creation date: (8/19/01 4:21:00 PM) |
static boolean |
dst()
Determines whether we are currently in Daylight Savings Time Creation date: (8/18/01 3:34:09 PM) |
static java.lang.String |
fmt_mjd(double mjd,
int pref)
put the given modified Julian date, mjd, in out[] according to preference format. |
static double |
get_mjd(int year,
int month,
int day,
int hour,
int minute,
int second,
java.util.TimeZone tz)
Return the Modified Julian Date (mjd) for a given date t is seconds since 00:00:00 1/1/1970 UTC on UNIX systems; mjd was 25567.5 then. |
static double |
gmst0(double mjd)
gmst0() - return Greenwich Mean Sidereal Time at 0h UT; stern Creation date: (8/19/01 8:14:01 PM) |
static void |
gst_utc(double mjd,
double gst,
utilities.DoubleRef utc)
given a modified julian date, mjd, and a greenwich mean siderial time, gst, return UTC. |
static void |
hadec_aa(double lat,
double ha,
double dec,
utilities.DoubleRef alt,
utilities.DoubleRef az)
given geodetic latitude (n+, radians), lat, hour angle (radians), ha, and declination (radians), dec, return altitude (up+, radians), alt, and azimuth (angle round to the east from north+, radians), Creation date: (8/29/01 7:26:11 PM) |
static double |
hrdeg(double x)
conversions among hours (of ra), degrees and radians Creation date: (8/19/01 4:24:23 PM) |
static double |
hrrad(double x)
conversions among hours (of ra), degrees and radians Creation date: (8/19/01 4:31:14 PM) |
static double |
mjd_2000()
Insert the method's description here. |
static void |
mjd_cal(double mjd,
utilities.IntegerRef mn,
utilities.DoubleRef dy,
utilities.IntegerRef yr)
given the modified Julian date (number of days elapsed since 1900 jan 0.5,), mjd, return the calendar date in months, *mn, days, *dy, and years, *yr. |
static double |
mjd_day(double jd)
given an mjd, truncate it to the beginning of the whole day Creation date: (8/19/01 4:41:52 PM) |
static int |
mjd_dow(double mjd,
utilities.IntegerRef dow)
given an mjd, set *dow to 0..6 according to which day of the week it falls on (0=sunday). |
static int |
mjd_dpm(double mjd)
given a mjd, return the the number of days in the month. |
static double |
mjd_hr(double jd)
given an mjd, return the number of hours past midnight of the whole day Creation date: (8/19/01 4:44:18 PM) |
static double |
mjd_year(double mjd)
given a mjd, return the year as a double. |
static double |
mjd0()
Insert the method's description here. |
static double |
mjd2000()
Insert the method's description here. |
static double |
now_lst(double lng)
Return the Local Apparent Sidereal Time, hours, given the longitude, lng. |
static double |
now_mjd()
Return the Modified Julian Date (mjd) from the system clock t is seconds since 00:00:00 1/1/1970 UTC on UNIX systems; mjd was 25567.5 then. |
static void |
nutation(double mjd,
utilities.DoubleRef deps,
utilities.DoubleRef dpsi)
Given the Julian Day (measured in Julian centuries from the Epoch J2000), Calculates two values and returns them - nutation in longitude and nutation in obliquity.. |
static void |
obliquity(double mjd,
utilities.DoubleRef eps)
Insert the method's description here. |
static double |
raddeg(double x)
conversions among hours (of ra), degrees and radians Creation date: (8/19/01 4:22:33 PM) |
static double |
radhr(double x)
conversions among hours (of ra), degrees and radians Creation date: (8/19/01 4:32:29 PM) |
static double |
range(double v,
double r)
insure 0 <= *v < r. |
static void |
range(utilities.DoubleRef v,
double r)
insure 0 <= *v < r. |
static void |
rnd_second(utilities.DoubleRef t)
round a time in days, *t, to the nearest second, IN PLACE. |
static void |
solve_sphere(double A,
double b,
double cc,
double sc,
utilities.DoubleRef cap)
solve a spherical triangle: A / \ / \ c / \ b / \ / \ B ____________ C a given A, b, c find B and a in range 0..B..2PI and 0..a..PI, respectively.. |
static void |
solve_sphere(double A,
double b,
double cc,
double sc,
utilities.DoubleRef cap,
utilities.DoubleRef Bp)
solve a spherical triangle: A / \ / \ c / \ b / \ / \ B ____________ C a given A, b, c find B and a in range 0..B..2PI and 0..a..PI, respectively.. |
static long |
time()
The time function returns the number of seconds elapsed since midnight (00:00:00), January 1, 1970, Universal Coordinated Time, according to the system clock. |
static long |
time(int year,
int month,
int day,
int hour,
int minute,
int second,
java.util.TimeZone tz)
The time function returns the number of seconds elapsed since midnight (00:00:00), January 1, 1970, Universal Coordinated Time, according to the system clock. |
static long |
tz_name(utilities.StringRef buf,
int tzpref)
fill buf() with a timezone name, depending on tzpref, which can be: DATE_UTCTZ: UTC DATE_LOCALTZ Local timezone name Creation date: (8/18/01 4:03:00 PM) |
static void |
utc_gst(double mjd,
double utc,
utilities.DoubleRef gst)
given a modified julian date, mjd, and UTC return greenwich mean siderial time, *gst. |
static double |
year_mjd(double y)
given a decimal year, return mjd Creation date: (8/19/01 3:50:25 PM) |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final double PI
public static final double SIDRATE
public static final double SPD
public static final int MERCURY
public static final int VENUS
public static final int MARS
public static final int JUPITER
public static final int SATURN
public static final int URANUS
public static final int NEPTUNE
public static final int PLUTO
public static final int SUN
public static final int MOON
public static final int OBJX
public static final int OBJY
public static final int OBJZ
public static final int NOBJ
public static final double MJD0
public static final double J2000
public static final int DATE_YMD
public static final int DATE_MDY
public static final int DATE_DMY
public static final int DATE_UTCTZ
public static final int DATE_LOCALTZ
private static double aaha_aux_last_lat
private static double aaha_aux_slat
private static double aaha_aux_clat
static double last_mjd
static double last_dy
static int last_mn
static int last_yr
static short[] dpm
static double gst_utc_lastmjd
static double gst_utc_t0
static double utc_gst_lastmjd
static double utc_gst_t0
Constructor Detail |
public Astro32()
Method Detail |
public static void aa_hadec(double lat, double alt, double az, utilities.DoubleRef ha, utilities.DoubleRef dec)
lat
- doublealt
- doubleaz
- doubleha
- utilities.DoubleRefdec
- utilities.DoubleRefpublic static void aaha_aux(double lat, double x, double y, utilities.DoubleRef p, utilities.DoubleRef q)
lat
- doublex
- doubley
- doublep
- utilities.DoubleRefq
- utilities.DoubleRefpublic static void cal_mjd(int mn, double dy, int yr, utilities.DoubleRef mjd)
public static double deghr(double x)
x
- double
public static double degrad(double x)
x
- double
public static boolean dst()
public static java.lang.String fmt_mjd(double mjd, int pref)
pref
- intpublic static double get_mjd(int year, int month, int day, int hour, int minute, int second, java.util.TimeZone tz)
public static double gmst0(double mjd)
mjd
- double
public static void gst_utc(double mjd, double gst, utilities.DoubleRef utc)
mjd
- doublegst
- doubleutc
- utilities.DoubleRefpublic static void hadec_aa(double lat, double ha, double dec, utilities.DoubleRef alt, utilities.DoubleRef az)
lat
- doubleha
- doubledec
- doublealt
- utilities.DoubleRefaz
- utilities.DoubleRefpublic static double hrdeg(double x)
x
- double
public static double hrrad(double x)
x
- double
public static double mjd_2000()
public static void mjd_cal(double mjd, utilities.IntegerRef mn, utilities.DoubleRef dy, utilities.IntegerRef yr)
public static double mjd_day(double jd)
jd
- double
public static int mjd_dow(double mjd, utilities.IntegerRef dow)
public static int mjd_dpm(double mjd)
public static double mjd_hr(double jd)
jd
- double
public static double mjd_year(double mjd)
mjd
- double
public static double mjd0()
public static double mjd2000()
public static double now_lst(double lng)
lng
- double The longitude in radians
public static double now_mjd()
public static void nutation(double mjd, utilities.DoubleRef deps, utilities.DoubleRef dpsi)
mjd
- doubledeps
- utilities.DoubleRef nutation in obliquitydpsi
- utilities.DoubleRef nutation in longitudepublic static void obliquity(double mjd, utilities.DoubleRef eps)
mjd
- doubleeps
- utilities.DoubleRefpublic static double raddeg(double x)
x
- double
public static double radhr(double x)
x
- double
public static double range(double v, double r)
v
- java.lang.Double valuer
- double rangepublic static void range(utilities.DoubleRef v, double r)
v
- java.lang.DoubleRef valuer
- double rangepublic static void rnd_second(utilities.DoubleRef t)
t
- java.lang.Doublepublic static void solve_sphere(double A, double b, double cc, double sc, utilities.DoubleRef cap)
A
- doubleb
- doublecc
- doublesc
- doublecap
- utilities.DoubleRefpublic static void solve_sphere(double A, double b, double cc, double sc, utilities.DoubleRef cap, utilities.DoubleRef Bp)
A
- doubleb
- doublecc
- doublesc
- doublecap
- utilities.DoubleRefBp
- utilities.DoubleRefpublic static long time()
public static long time(int year, int month, int day, int hour, int minute, int second, java.util.TimeZone tz)
public static long tz_name(utilities.StringRef buf, int tzpref)
buf
- char[]tzpref
- int
public static void utc_gst(double mjd, double utc, utilities.DoubleRef gst)
mjd
- doubleutc
- doublegst
- utilities.DoubleRefpublic static double year_mjd(double y)
y
- double
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |