optics
Class WaveLengthSpectrum
java.lang.Object
optics.Optics
optics.WaveLengthFunction
optics.WaveLengthSpectrum
- Direct Known Subclasses:
- CompoundSpectrum, ConstantSpectrum, PlankSpectrum
public abstract class WaveLengthSpectrum
- extends WaveLengthFunction
Abstract class for intensity spectral response. Needs to be
extended by one of the other classes.
Method Summary |
abstract double |
getIntensity(double lambda)
Method to get the intensity at specific wavelength. |
double |
getValue(double lambda)
Method to define the abstract method in
WaveLengthFunction |
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, toString, wait, wait, wait |
WaveLengthSpectrum
public WaveLengthSpectrum()
getIntensity
public abstract double getIntensity(double lambda)
- Method to get the intensity at specific wavelength.
Needs to be defined in extending classes.
- Parameters:
lambda
- the wavelength
- Returns:
double
the intensity
getValue
public double getValue(double lambda)
- Method to define the abstract method in
WaveLengthFunction
- Specified by:
getValue
in class WaveLengthFunction
- Parameters:
lambda
- the wavelength
- Returns:
double
the value