|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.stellarium.SkyBright
public class SkyBright
| Field Summary | |
|---|---|
private double |
airMassMoon
Air mass for the Moon |
(package private) double |
airMassSun
Air mass for the Sun |
(package private) double |
bDaylight
Daylight sky brightness |
(package private) double |
bMoon
Moon brightness |
(package private) double |
bMoonTerm1
|
(package private) double |
bNight
Dark night brightness |
(package private) double |
bNightTerm
|
(package private) double |
bTotal
Total brightness |
(package private) double |
bTwilight
Twilight brightness |
(package private) double |
bTwilightTerm
|
(package private) double |
C3
Term for moon brightness computation |
(package private) double |
C4
Term for sky brightness computation |
(package private) double |
K
Useful coef... |
(package private) double |
magMoon
Moon magnitude |
(package private) double |
RA
Something related with date |
(package private) double |
SN
Snellen Ratio (20/20=1.0, good 20/10=2.0) |
| Constructor Summary | |
|---|---|
SkyBright()
|
|
| Method Summary | |
|---|---|
double |
getLuminance(double cosDistMoon,
double cosDistSun, double cosDistZenith)
Compute the luminance at the given position |
void |
setDate(int year,
int month, double moonPhase)
|
void |
setLoc(double latitude,
double altitude, double temperature, double relativeHumidity)
|
void |
setSunMoon(double cosDistMoonZenith,
double cosDistSunZenith)
Set the moon and sun zenith angular distance (cosin given) and precompute what can be |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private double airMassMoon
double airMassSun
double bTotal
double bNight
double bTwilight
double bDaylight
double bMoon
double magMoon
double RA
double K
double C3
double C4
double SN
double bNightTerm
double bMoonTerm1
double bTwilightTerm
| Constructor Detail |
|---|
public SkyBright()
| Method Detail |
|---|
public void setDate(int year,
int month,
double moonPhase)
year -
month - 1=Jan, 12=Dec
moonPhase - in radian 0=Full Moon, PI/2=First Quadrant/Last Quadran, PI=No Moon
public void setLoc(double latitude,
double altitude,
double temperature,
double relativeHumidity)
public void setSunMoon(double cosDistMoonZenith,
double cosDistSunZenith)
cosDistMoonZenith -
cosDistSunZenith -
public double getLuminance(double cosDistMoon,
double cosDistSun,
double cosDistZenith)
cosDistMoon - Math.cos(angular distance between moon and the position)
cosDistSun - Math.cos(angular distance between sun and the position)
cosDistZenith - Math.cos(angular distance between zenith and the position)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||