optics
Class Seidel

java.lang.Object
  extended by optics.Optics
      extended by optics.SurfaceFunction
          extended by optics.Seidel

public class Seidel
extends SurfaceFunction

Class to forma Seidal Aberration function with the standard parameters of defocus, spherical aberration, coma, asigmatism and distortion. By default the functiosn are defines for a radius on 1.0.


Field Summary
 
Fields inherited from class optics.Optics
DEFAULT_WAVELENGTH, errorStream, fmt, MICRONS
 
Constructor Summary
Seidel()
          Default cosntructor that set all elements to zero
Seidel(double angle, double defocus, double sa, double coma, double astig, double fieldCurve, double distortion)
          Constructor that sets all the elements with a default maximum radius of 1.0.
Seidel(Seidel s)
          Constructor to form a Seidel with the values taken from a specifed Seidel
 
Method Summary
 Seidel clone()
          Method to clone the current Seidel
 double getAstigmatism()
          Get Astigmatism (S3)
 double getComa()
          Get Coma (S2)
 double getDefocus()
          Get Defocus (S4)
 double getDistortion()
          Get Distortion (S5)
 double getFieldAngle()
          Get angle
 double getFieldCurvature()
          Get Defocus (S4)
 double getMaxRadius()
          Methed to get the radius
 double getSA()
          Get Spherical Aberration (S1)
 double getValue(double x, double y)
          Get wavefront aberration at point x,y for of specified radius, from Welford, Aberretaions of the Symmetrical Optical systems equation 7.42
 void setAstigmatism(double value)
          Set Astigmatism (S3)
 void setComa(double value)
          Set Coma (S2)
 void setDefocus(double value)
          Set Defocus (not a Seidel, but needed in caculations)
 void setDistortion(double value)
          Set Distortion (S5)
 void setFieldAngle(double theta)
          Set off-axis angle
 void setFieldCurvature(double value)
          Set FieldCurvature (S4)
 void setMaxRadius(double r)
          Set tthe maximum radius
 void setSA(double value)
          Set Spherical Aberration (S1)
 
Methods inherited from class optics.SurfaceFunction
getValue
 
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, toString, wait, wait, wait
 

Constructor Detail

Seidel

public Seidel()
Default cosntructor that set all elements to zero


Seidel

public Seidel(double angle,
              double defocus,
              double sa,
              double coma,
              double astig,
              double fieldCurve,
              double distortion)
Constructor that sets all the elements with a default maximum radius of 1.0.

Parameters:
angle - normalied feild angle
defocus - Defocus
sa - Spherical Aberration
coma - Coma
astig - Astigmatism
fieldCurve - Field Curvature
distortion - Distortion

Seidel

public Seidel(Seidel s)
Constructor to form a Seidel with the values taken from a specifed Seidel

Parameters:
s - the specifying Seidel
Method Detail

clone

public Seidel clone()
Method to clone the current Seidel

Overrides:
clone in class java.lang.Object
Returns:
Seidel clone of current Seidel

setMaxRadius

public void setMaxRadius(double r)
Set tthe maximum radius

Parameters:
r - the radius

setFieldAngle

public void setFieldAngle(double theta)
Set off-axis angle

Parameters:
theta - Angle in radians

setDefocus

public void setDefocus(double value)
Set Defocus (not a Seidel, but needed in caculations)

Parameters:
value - Defocus in wavelengths

setSA

public void setSA(double value)
Set Spherical Aberration (S1)

Parameters:
value - SA in wavelengths

setComa

public void setComa(double value)
Set Coma (S2)

Parameters:
value - S2 in wavelengths

setAstigmatism

public void setAstigmatism(double value)
Set Astigmatism (S3)

Parameters:
value - S3 in wavelengths

setFieldCurvature

public void setFieldCurvature(double value)
Set FieldCurvature (S4)

Parameters:
value - S4 in wavelengths

setDistortion

public void setDistortion(double value)
Set Distortion (S5)

Parameters:
value - S5 in wavelengths

getMaxRadius

public double getMaxRadius()
Methed to get the radius


getFieldAngle

public double getFieldAngle()
Get angle

Returns:
double the filed angle

getDefocus

public double getDefocus()
Get Defocus (S4)

Returns:
Defocus

getSA

public double getSA()
Get Spherical Aberration (S1)

Returns:
SA

getComa

public double getComa()
Get Coma (S2)

Returns:
Coma

getAstigmatism

public double getAstigmatism()
Get Astigmatism (S3)

Returns:
Astrimatism

getFieldCurvature

public double getFieldCurvature()
Get Defocus (S4)

Returns:
Defocus

getDistortion

public double getDistortion()
Get Distortion (S5)

Returns:
Distortion

getValue

public double getValue(double x,
                       double y)
Get wavefront aberration at point x,y for of specified radius, from Welford, Aberretaions of the Symmetrical Optical systems equation 7.42

Specified by:
getValue in class SurfaceFunction
Parameters:
x - the x location.
y - the y location.
Returns:
double the wavefront aberration in wavelengths