|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoptics.Optics
optics.OpticalSurface
optics.OpticalPlane
optics.OpticalImage
optics.WaveFrontImage
public class WaveFrontImage
Class to implement a WaveFront
in a particular
plane with the values holding the
aberrations.
Field Summary | |
---|---|
protected CircularMask |
mask
The mask applied to the image |
Fields inherited from class optics.OpticalImage |
---|
colourScale, data, grid, max, waveLength |
Fields inherited from class optics.OpticalPlane |
---|
blockedNormal, maxRadius, planeNormal |
Fields inherited from class optics.OpticalSurface |
---|
CLEAR, group, REFLECTING, REFRACTING, refractiveIndex, surfacePoint, surfaceType |
Fields inherited from class optics.Optics |
---|
DEFAULT_WAVELENGTH, errorStream, fmt, MICRONS |
Constructor Summary | |
---|---|
WaveFrontImage(Position p,
int size)
Form WaveFrontImage with spefied position, size with range defaulting to 2.0 and outer radius to 1.0. |
|
WaveFrontImage(Position p,
int size,
double range)
Form WaveFrontImage with spefied position, size and range outer radius defaults to 0.5 range. |
|
WaveFrontImage(Position p,
int size,
double range,
double outerRadius)
Form WaveFrontImage with spefied position, size, range, abd default circukar mask of specifed outerradius. |
Method Summary | |
---|---|
void |
fill(optics.analysis.OpticalExpansion oe)
Method to fill with OpticalExpansion . |
void |
fill(optics.analysis.OpticalExpansion oe,
double range)
Method to fill with OpticalExpansion . |
void |
fill(SurfaceFunction s)
Method to set the Wavefrom image with a general surface. |
jfftw.ComplexDataArray |
getComplexDataArray()
Method to get the ComplexDataArray with its phase set by the WavefrontImage. |
double |
getOuterRadius()
Method to get the outer radius |
OpticalImage |
getPsf()
Method to get the intensity psf by taking the two-dimensional FFT of the complex wavefront. |
void |
setOuterRadius(double r)
Method to set the outer radius. |
Methods inherited from class optics.OpticalImage |
---|
add, add, add, add, add, calculateIntensityRange, clear, draw, getBufferedImage, getColourScale, getDataArray, getGrid, getHeight, getLocation, getLocation, getMaxIntensity, getMaxRadius, getMinIntensity, getPixel, getPixel, getPixel, getPosition, getPosition, getSample, getSourcePoint, getSourcePoint, getWaveLength, getWidth, imagedThrough, imagedThrough, setColourScale, setPixel, setPixel, setRange, setSampleGrid, setSurfacePoint, setTestGrid, setWaveLength |
Methods inherited from class optics.OpticalPlane |
---|
clone, distance, getBounds, getCurvature, getEdgePlane, getNormal, getPlaneNormal, pointInPlane, scale, setMaxRadius, setPlaneNormal, toString |
Methods inherited from class optics.OpticalSurface |
---|
distance, edit, entranceAperture, exitAperture, fromString, fromTokens, getGroup, getIndex, getNormal, getPoint, getRefractiveIndex, getSurfacePoint, getSurfaceType, getSurfaceType, makeStandAlone, pointInPlane, setGroup, setRefractiveIndex, setSurfaceType |
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 |
Field Detail |
---|
protected CircularMask mask
Constructor Detail |
---|
public WaveFrontImage(Position p, int size, double range, double outerRadius)
p
- the surface pointsize
- the wavefront image size (always square)range
- the used to set the sample internalouterRadius
- the outer radiuspublic WaveFrontImage(Position p, int size, double range)
p
- the surface pointsize
- the wavefront image size (always square)public WaveFrontImage(Position p, int size)
p
- the surface pointsize
- the wavefront image size (always square)Method Detail |
---|
public void setOuterRadius(double r)
r
- the outer radiuspublic double getOuterRadius()
double
the outer radiuspublic void fill(SurfaceFunction s)
s
- the surface.public void fill(optics.analysis.OpticalExpansion oe)
OpticalExpansion
.
The range of the image is set to match the size
of the expansion.
oe
- the OpticalExpansion.public void fill(optics.analysis.OpticalExpansion oe, double range)
OpticalExpansion
.
The outerRadius is set to match the MaxRadius of the
expansion. The regions outsize the outerRadius
are set to Double.NaN.
oe
- the OpticalExpansion.range
- the range of the wavefront imagepublic jfftw.ComplexDataArray getComplexDataArray()
ComplexDataAttay
the ComplexImagepublic OpticalImage getPsf()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |