HartmannWfsProcessing is part of the WaveTrain system class library
HartmannWfsProcessing computes subaperture slopes from the detected intensities for a Hartmann wavefront sensor. HartmannWfsProcessing can compute slopes for any number of subapertures, in any geometry. Subaperture geometries are generally created using AoTool, as part of setting up an adaptive optics geometry. Either a relative (of maximum value) threshold or an absolute (same units as input grid) threshold may be used and is applied to each subaperture individually. If both threshold parameters are non zero, the threshold is calculated as the absolute threshold, plus the relative threshold of the grid after subtracting the absolute threshold. The threshold is subtracted from the grid and any negative values are set to zero.
|
Parameters
|
focalLength |  float | The subaperture focal length, used to spot translations to slopes. If a focal length of 1.0 is specified, the slopes come out in radians. | |
magnification |  float | Scale factor relating the size of the spot array at the detector plane to the subaperture array at the aperture plane. | |
xSubap |  Vector<float> | x coordinates of the subaperture centers | |
ySubap |  Vector<float> | y coordinates of the subaperture centers | |
centroidWidth |  float | Width of region to be used in computing centroids; this should be less than the spot spacing, and it is converted to an integer number of pixels. | |
relativeThreshold |  float | Relative threshold, expressed as a fraction of the maximum value in the image. | 0.1 |
absoluteThreshold |  float | Absolute threshold (same units as input grid) | 0.0 |
xSlope0 |  float | X slopes to be output prior to the first complete sample. | 0.0 |
ySlope0 |  float | Y slopes to be output prior to the first complete sample. | 0.0 |
Inputs
|
integrated_intensity |  Grid<float> | Measured intensity at the WFS detector plane, typically a rectangular array of spots, one for each subaperture. | |
Outputs
|
slopes |  Vector<float> | The subaperture slope estimates; first all the x slopes, then all the y slopes | |
Subsystems |
|
|
Last Saved: Fri Feb 22 10:19:36 MST 2008 by TVE version 2007B
|
|