|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoptics.Optics
optics.WaveLengthFunction
optics.WaveLengthSpectrum
optics.PlankSpectrum
public class PlankSpectrum
Class to implement Plank Spectral response specified by temperature and constant emissitivity.
Field Summary | |
---|---|
protected double |
emissivity
The emisivity |
protected double |
temperature
The temperature in Kelvin |
Fields inherited from class optics.WaveLengthFunction |
---|
maxPlotLambda, minPlotLambda, plotPoints |
Fields inherited from class optics.Optics |
---|
DEFAULT_WAVELENGTH, errorStream, fmt, MICRONS |
Constructor Summary | |
---|---|
PlankSpectrum()
Form a PlankSpectrum with default
temperature of 3,000 K and emisivity of 1.0. |
|
PlankSpectrum(double t)
Form a PlankSpectrum with specfied
temperature and emisivity of 1.0. |
|
PlankSpectrum(double t,
double e)
Form a PlankSpectrum with specfied
temperature and emisivity. |
Method Summary | |
---|---|
double |
getIntensity(double lambda)
Method Get the intensity at a specified wavelength. |
void |
setEmissivity(double e)
Method to set emissivity |
void |
setTemperature(double t)
Method to set the temperature. |
java.lang.String |
toString()
Method to return default toString() |
Methods inherited from class optics.WaveLengthSpectrum |
---|
getValue |
Methods inherited from class optics.WaveLengthFunction |
---|
getPlot, getPlotPoints, setPlotPoints, setPlotRange, setPlotRange, toGraph, toPlot, toPlot, toPlot |
Methods inherited from class optics.Optics |
---|
getDefaultWaveLength, getErrorStream, getFormatString, getName, getStaticName, getVersion, printError, setDefaultWaveLength, setErrorStream, setFormatString, setMicrons |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected double temperature
protected double emissivity
Constructor Detail |
---|
public PlankSpectrum()
PlankSpectrum
with default
temperature of 3,000 K and emisivity of 1.0.
public PlankSpectrum(double t)
PlankSpectrum
with specfied
temperature and emisivity of 1.0.
t
- temperature in Kelvin.public PlankSpectrum(double t, double e)
PlankSpectrum
with specfied
temperature and emisivity.
t
- temperature in degrees Kelvine
- emissivityMethod Detail |
---|
public java.lang.String toString()
toString()
- Overrides:
toString
in class java.lang.Object
- Returns:
String
informative String.
public void setTemperature(double t)
t
- the temperature in Kelvinpublic void setEmissivity(double e)
e
- the temperaturepublic double getIntensity(double lambda)
getIntensity
in class WaveLengthSpectrum
lambda
- wavelength in microns
double
the intensity.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |