|
Jeospace API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jeospace.util.StellarUtils
Utility methods for handling stellar magnitudes and spectral color.
| Constructor Summary | |
StellarUtils()
|
|
| Method Summary | |
static double |
getAbsoluteMagnitude(double apparentMagnitude,
double parallax)
Return the absolute magnitude of a star given it's apparent magnitude and parallax |
static double |
getAbsoluteMagnitude(double apparentMagnitude,
Length distance)
Return the absolute magnitude of a star given it's apparent magnitude and distance |
static double |
getApparentMagnitude(double absoluteMagnitude,
Length distance)
Return the apparent magnitude of a star given it's absolute magnitude and distance |
static void |
main(java.lang.String[] args)
test cases |
static java.awt.Color |
matchSpectralType(java.lang.String type)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public StellarUtils()
| Method Detail |
public static double getAbsoluteMagnitude(double apparentMagnitude,
Length distance)
apparentMagnitude - the apparent magnitude of the stardistance - the distance of the star
public static double getAbsoluteMagnitude(double apparentMagnitude,
double parallax)
apparentMagnitude - the apparent magnitude of the starparallax - the parallax of the star in arc seconds
public static double getApparentMagnitude(double absoluteMagnitude,
Length distance)
absoluteMagnitude - the apparent magnitude of the stardistance - the distance of the star
public static void main(java.lang.String[] args)
public static java.awt.Color matchSpectralType(java.lang.String type)
|
Jeospace API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||