| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectoptics.Optics
optics.WaveLengthFunction
optics.RefractiveIndex
optics.SellmeirIndex
public class SellmeirIndex
Class to implement a general Sellmeir Index defined by
        two double[] arrays of weights and wavelengths
| Field Summary | 
|---|
| Fields inherited from class optics.RefractiveIndex | 
|---|
air, currentIndex, currentWaveLength | 
| Fields inherited from class optics.WaveLengthFunction | 
|---|
maxPlotLambda, minPlotLambda, plotPoints | 
| Fields inherited from class optics.Optics | 
|---|
DEFAULT_WAVELENGTH, errorStream, fmt, MICRONS | 
| Constructor Summary | |
|---|---|
SellmeirIndex(double[] a,
              double[] lambda)
Constructor to form a SellmeirIndex with weight and wavelength arrays.  | 
|
SellmeirIndex(SellmeirIndex s)
Constructor taking the weights set by specified SellmeirIndex. | 
|
| Method Summary | |
|---|---|
 SellmeirIndex | 
clone()
Form a clone of the current SellmeirIndex. | 
 double[] | 
getA()
Method to get the double array holding the
     A values. | 
 double | 
getIndex(double lam)
Method to return refractive index for a specified wavelength.  | 
 double[] | 
getLambda()
Method to get the double array holding the
     Lambda values. | 
 void | 
setA(double[] a)
Method to set the weighting array.  | 
 void | 
setLambda(double[] l)
Method to set the lambda array.  | 
 java.lang.String | 
toString()
Deafult method to format to a String.  | 
| Methods inherited from class optics.RefractiveIndex | 
|---|
fromString, fromTokens, getIndex, getIndex, 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 | 
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
|---|
public SellmeirIndex(double[] a,
                     double[] lambda)
a - the a array.lambda - the lambda arrays in micronspublic SellmeirIndex(SellmeirIndex s)
SellmeirIndex.
s - the specifying index| Method Detail | 
|---|
public SellmeirIndex clone()
SellmeirIndex.
clone in class java.lang.ObjectSellmeirIndex clone of currentpublic void setA(double[] a)
a - the weight array.public double[] getA()
double array holding the
     A values.
double[] the A values.public void setLambda(double[] l)
l - the lambda array.public double[] getLambda()
double array holding the
     Lambda values.
double[] the Lambda values.public java.lang.String toString()
toString in class java.lang.ObjectString Formatted String.public double getIndex(double lam)
getIndex in class RefractiveIndexlam - wavelength in microns
double index at specified wavelength.
  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||