optics
Class HoyaIndex

java.lang.Object
  extended by optics.Optics
      extended by optics.WaveLengthFunction
          extended by optics.RefractiveIndex
              extended by optics.HoyaIndex

public class HoyaIndex
extends RefractiveIndex

Class to implement Hoya Glass index dispersion. Glass file is either set by environmental variable HOYAGLASSFILE. If this is not set it will default the URL version of the file which is much slower.


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
HoyaIndex(java.lang.String type)
          Constuctor to create a Schott glass of specified name.
 
Method Summary
 java.lang.String getColourCode()
          Method to get the Colourcode String
 double getdIndex()
          Method of get the d-line index
 double geteIndex()
          Method of get the e-line index
 double getIndex(double lambda)
          Method to get index at a specified wavelength calculated from the dispersion constants.
 double getVd()
          Method of get the d-line V number
 double getVe()
          Method of get the e-line V number
 java.lang.String toString()
          String method to return infomation about glass
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HoyaIndex

public HoyaIndex(java.lang.String type)
Constuctor to create a Schott glass of specified name.

Parameters:
type - The name of the glass (see glass tables).
Method Detail

toString

public java.lang.String toString()
String method to return infomation about glass

Overrides:
toString in class java.lang.Object

getdIndex

public double getdIndex()
Method of get the d-line index

Returns:
the n-line index

geteIndex

public double geteIndex()
Method of get the e-line index

Returns:
the e-line index

getVd

public double getVd()
Method of get the d-line V number

Returns:
the d-line V number

getVe

public double getVe()
Method of get the e-line V number

Returns:
the e-line V number

getColourCode

public java.lang.String getColourCode()
Method to get the Colourcode String


getIndex

public double getIndex(double lambda)
Method to get index at a specified wavelength calculated from the dispersion constants.

Specified by:
getIndex in class RefractiveIndex
Parameters:
lambda - Wavelength in microns
Returns:
double<\code> The refactive index.