optics.analysis
Class WavePoint

java.lang.Object
  extended by jfitter.DataPoint
      extended by jfitter.DataPoint2d
          extended by optics.analysis.WavePoint

public class WavePoint
extends jfitter.DataPoint2d

Class to hold a WavePoint being a with extends DataPoint2d of the jfitter package to allow function fitting. The data held is normalised optical path length, being the physical pathlength scaled by the wavelength.


Field Summary
 
Fields inherited from class jfitter.DataPoint2d
pt
 
Fields inherited from class jfitter.DataPoint
data, fmt, sigma, valid
 
Constructor Summary
WavePoint(Point2d p, double opl)
          Form a WavePoint with specifed normalised opl, typically in wavelengths.
WavePoint(Point2d p, double opl, double sigma)
          Form a with specifed opl, typically in wavelengths and error
WavePoint(RayVector r)
          Form a WavePoint with position and normalsied opl taken from a ray.
WavePoint(RayVector ray, double z)
          Create a WavePoint being the opl with the specfied Ray reaches a flat plane at a position z along the optical asis.
WavePoint(RayVector ray, OpticalPlane plane, Position rp)
          Form Wave Point for a ray in a specified plane with respect to a Reference Sphere
WavePoint(RayVector ray, OpticalSurface s)
          Form a WavePoint with position and normalsied opl being when the specfied Ray reaches the specifed optical surface.
 
Method Summary
 
Methods inherited from class jfitter.DataPoint2d
clone, formatPoint, getPoint, getX, getY, setPoint, toString
 
Methods inherited from class jfitter.DataPoint
getData, getSigma, getValid, setData, setFormatString, setSigma, setValid
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WavePoint

public WavePoint(Point2d p,
                 double opl)
Form a WavePoint with specifed normalised opl, typically in wavelengths.

Parameters:
p - the point.
opl - path length.

WavePoint

public WavePoint(Point2d p,
                 double opl,
                 double sigma)
Form a with specifed opl, typically in wavelengths and error

Parameters:
p - point in the plane
opl - path length.
sigma - the error

WavePoint

public WavePoint(RayVector r)
Form a WavePoint with position and normalsied opl taken from a ray.

Parameters:
r - the ray

WavePoint

public WavePoint(RayVector ray,
                 OpticalSurface s)
Form a WavePoint with position and normalsied opl being when the specfied Ray reaches the specifed optical surface.

Note the ray is not propagated to the surface, so it not modified.

Parameters:
ray - the ray with pathlength
s - the optical surface

WavePoint

public WavePoint(RayVector ray,
                 double z)
Create a WavePoint being the opl with the specfied Ray reaches a flat plane at a position z along the optical asis.

Note the ray is not propagated to the surface, so it not modified.

Parameters:
ray - the ray with pathlength
z - poistion of the plane

WavePoint

public WavePoint(RayVector ray,
                 OpticalPlane plane,
                 Position rp)
Form Wave Point for a ray in a specified plane with respect to a Reference Sphere

Parameters:
ray - The ray
plane - the optical plane.
rp - centre of spherical reference sphere