|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.aerith.misao.util.Astro
The Astro
is a class which consists of constant values
and static methods related to astronomy.
Field Summary | |
static double |
BESSELL_1900
The Julian Day of B1900.0. |
static double |
BESSELL_1950
The Julian Day of B1950.0. |
static double |
EPSILON_1950
The ecliptic obliquity at 1950.0. |
static double |
EPSILON_2000
The ecliptic obliquity at 2000.0. |
static double |
GAUSSIAN_CONSTANT
The Gaussian constant. |
static double |
JULIUS_1850
The Julian Day of J1850.0. |
static double |
JULIUS_1900
The Julian Day of J1900.0. |
static double |
JULIUS_2000
The Julian Day of J2000.0. |
static double |
LIGHT_TIME
The light time in second. |
static double |
MAG_STEP
The brightness ratio of 1 mag. |
private static int[][] |
p_b
The parameters to calculate solar latitude. |
private static long[][] |
p_lr
The parameters to calculate solar longitude. |
static double |
RAD
The converter to radian unit (pi / 180). |
static double |
SBIG_RATIO
The width to height ratio of SBIG ST-4/ST-6 images. |
Constructor Summary | |
Astro()
|
Method Summary | |
static double |
blendMagnitude(double mag1,
double mag2)
Blends the specified two magnitude. |
static double |
cosh(double x)
Calculates cosh(x). |
static double |
epsilon2000(double t)
Gets the ecliptic inclination in J2000.0. |
static double |
get_t1850(double jd)
Gets the T1850. |
static double |
get_t1900(double jd)
Gets the T1900. |
static double |
get_t2000(double jd)
Gets the T2000. |
static double |
getDistanceOfAngles(double angle1,
double angle2)
Gets the distance between the specified two angles. |
static double |
getMeanAngle(double angle1,
double angle2)
Gets the mean value the specified two angles. |
static double |
getMeanAngle(double angle1,
double angle2,
double weight1,
double weight2)
Gets the mean value the specified two angles, considering the specified weights. |
static double |
getProperLimitingMagnitude(double pixel_size)
Gets the proper limiting magnitude to plot on chart, based on the pixel size. |
static Xyz |
getSolarCoordinates(double jd)
Gets the equatorial coordinates of the Sun. |
static double |
greenwich2000(double t)
Gets the Greenwich sidereal time in J2000.0 |
static double |
normalize(double value,
double maximum)
Normalize the specified value into the proper range. |
static double |
sinh(double x)
Calculates sinh(x). |
Methods inherited from class java.lang.Object |
|
Field Detail |
public static final double RAD
public static final double BESSELL_1900
public static final double BESSELL_1950
public static final double JULIUS_1850
public static final double JULIUS_1900
public static final double JULIUS_2000
public static final double EPSILON_1950
public static final double EPSILON_2000
public static final double GAUSSIAN_CONSTANT
public static final double LIGHT_TIME
public static final double SBIG_RATIO
public static final double MAG_STEP
private static final long[][] p_lr
private static final int[][] p_b
Constructor Detail |
public Astro()
Method Detail |
public static double normalize(double value, double maximum)
value
- the value.maximum
- the maximum value of range, which must be
positive.public static final double sinh(double x)
x
- the argument.public static final double cosh(double x)
x
- the argument.public static double get_t1850(double jd)
jd
- the Julian day.public static double get_t1900(double jd)
jd
- the Julian day.public static double get_t2000(double jd)
jd
- the Julian day.public static double epsilon2000(double t)
t
- the T2000.public static double greenwich2000(double t)
t
- the T2000.public static double getProperLimitingMagnitude(double pixel_size)
This equation is determined so that the answer will satisfy the following table.
Pixel size (arcmin) | Ideal Lm. | Calculated Lm. |
---|---|---|
100 | 10.0 | 9.5 |
20 | 13.5 | 13.7 |
12 | 14.5 | 15.0 |
7.0 | 16.5 | 16.4 |
3.5 | 18.0 | 18.2 |
2.3 | 19.5 | 19.3 |
1.3 | 20.5 | 20.8 |
pixel_size
- the pixel size in degree.public static double blendMagnitude(double mag1, double mag2)
mag1
- the magnitude of first star.mag2
- the magnitude of second star.public static double getDistanceOfAngles(double angle1, double angle2)
angle1
- the angle.angle2
- another angle.public static double getMeanAngle(double angle1, double angle2)
angle1
- the angle.angle2
- another angle.public static double getMeanAngle(double angle1, double angle2, double weight1, double weight2)
angle1
- the angle.angle2
- another angle.weight1
- the weight of angle1.weight2
- the weight of angle2.public static Xyz getSolarCoordinates(double jd)
jd
- the Julian Day.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |