
Using the Huygens PSF plot
The Huygens PSF plot displays an image of the point-spread function (PSF) as calculated using the Huygens-Fresnel wavelet theory.
To create the PSF plot window:
- Select from the menu Analysis > PSF > Huygens
Exporting data from PSF plot
The underlying data I(x,y) may be exported using the Export toolbar icon, or by "Save data as..." on the contextual menu (obtained by control clicking on the image).
Options panel
Rays tab
- Field
- Using the Field popup menu, select the field for which you wish to calculate. Select All to calculate for all fields (this can be very time-consuming).
- Wave
- Using the Wave popup menu, select the wave for which you wish to calculate. At present only the monochromatic diffraction OTF may be calculated.
- Pattern
- For the Huygens calculator, the pattern of rays used to sample the pupil may be specified indpendently of the grid used to sample the image plane. Using the Pattern popup menu, select the pupil pattern to use. If the Random pattern is selected, a randomize (Roll) button will appear and the toolbar Randomize icon will be enabled.
- Number of points per side
- The image plane is sampled using a rectangular N by N grid of points. N is the "number of points per side". The points are spaced by "delta" which is the next parameter. If you plot the OTF, the number of spatial frequencies at which the OTF is calculated is N/2 (i.e., up to the Nyquist frequency). These N spatial frequencies are uniformly distributed from zero to the physical limit (the spatial frequency at which the contrast must becomes zero by diffraction theory).
- Image plane sampling delta
- The spacing of the points on the image plane sampling grid. If you change this quantity the width will be recalculated.
- Image plane sampling width
- The width of the sampling grid, equal to the product of image delta and the number of points per side, N. If you change this quantity delta will be recalculated.
Plot tab
- Plot LSF
- If checked, the LSF is plotted. If unchecked the OTF is plotted.
- Units
- Allows selection from a list of length units.
- Plot OTF
- If checked, the OTF is plotted. If unchecked the LSF is plotted.
- Plot diffraction limit
- Plot the diffraction limit curve: the LSF or OTF of an unaberrated system with a circular pupil. n.b., assumes Fraunhofer diffraction.
- Plot real and imaginary parts
- If checked, the real and imaginary parts of the OTF are plotted, as well as its magnitude (MTF).
- Maximum spatial frequency
- The maximum spatial frequency displayed on the plot. Note that the Huygens calculation allows calculation at spatial frequencies beyond the physical range.
- Plot physical range
- Sets the maximum spatial frequency to the physical limit: the spatial frequency that is the reciprocal of the product of the wavelength and the working focal ratio.
- Divide by focal length
- Divide the image space spatial frequency (cycles per unit length) by the focal length of the lens, so that it becomes an angular frequency (cycles per unit angle).
- Spline smoothing
- Interpolates in the calculated data using a spline, to give a smoother looking curve.
PSF tab
- Draw Airy disk
- If checked, the Airy disk is drawn. n.b., this enables image resampling.
- Draw rays
- If checked, the geometrical rays are superimposed on the PSF image. n.b., this enables image resampling.
- Resample image
- Resamples image to center the pattern and make the image a specified minimum resolution, in case you wish to copy it out or save it.
- False-color image
- Colors instead of intensity shading.
- Enhance faint features
- Uses a nonlinear intensity map to amplify weak features.
- Negative image
- Reverse shading for high and low intensity.