|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jscience.astronomy.solarsystem.VisualLimit
public class VisualLimit
Calculates sky brightness and limiting magnitude.
Based on C code by
Bill Gray (www.projectpluto.com), which was in turn based on Brad
Schaefer's article and code on pages 57-60, May 1998 _Sky & Telescope_, "To
the Visual Limits".
| Field Summary | |
|---|---|
static int |
BAND_0
Band mask |
static int |
BAND_1
Band mask |
static int |
BAND_2
Band mask |
static int |
BAND_3
Band mask |
static int |
BAND_4
Band mask |
| Constructor Summary | |
|---|---|
VisualLimit()
Default constructor. |
|
VisualLimit(int bandMask,
VisualLimitFixedBrightnessData fbd,
VisualLimitAngularBrightnessData abd)
Explicit (all values) constructor. |
|
| Method Summary | |
|---|---|
void |
computeSkyBrightness(VisualLimitAngularBrightnessData abd)
Compute the sky brightness. |
double |
getBrightness(int i)
Get the brightess value. |
double |
getExtinction(int i)
Get the extinction value. |
double |
getK(int i)
Get the K band value. |
double |
limitingMagnitude()
Calculate the limiting magnitude. |
static void |
main(java.lang.String[] args)
(for unit testing only) |
void |
setBrightnessParams(VisualLimitFixedBrightnessData fbd)
Set the fixed brightness parameters. |
void |
setMask(int m)
Set the mask value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int BAND_0
public static final int BAND_1
public static final int BAND_2
public static final int BAND_3
public static final int BAND_4
| Constructor Detail |
|---|
public VisualLimit()
public VisualLimit(int bandMask,
VisualLimitFixedBrightnessData fbd,
VisualLimitAngularBrightnessData abd)
bandMask - A logical mask which represents one or more of the five
possible bands to calculate.fbd - The fixed brightness dataabd - The angular brightness data| Method Detail |
|---|
public void setBrightnessParams(VisualLimitFixedBrightnessData fbd)
fbd - The fixed brightness datapublic void computeSkyBrightness(VisualLimitAngularBrightnessData abd)
abd - The angular brightness datapublic double limitingMagnitude()
public void setMask(int m)
m - DOCUMENT ME!
public double getK(int i)
throws java.lang.Exception
i - Index into the band data
java.lang.Exception - DOCUMENT ME!
public double getBrightness(int i)
throws java.lang.Exception
i - Index into the band data
java.lang.Exception - DOCUMENT ME!
public double getExtinction(int i)
throws java.lang.Exception
i - Index into the band data
java.lang.Exception - DOCUMENT ME!public static void main(java.lang.String[] args)
args - DOCUMENT ME!
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||