RHSAiryDefocusedPSF:

Path: Imaging/PSFUtils

% Point Spread Function for the Airy defocused function.
 All distance parameters x, y, and r must have the same units.
 Performs an integration of a Bessel function using trapz.

--------------------------------------------------------------------------
   Form:
 	f =  RHSAiryDefocusedPSF(x,y,d)
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   x   (:,:)       X coordinates (micro-m)
   y   (:,:)       Y coordinates (micro-m)
   d    (.)        Data structure
                   .d	 (.) Data structure for PSF
                             .a      (1,1) Aperture     (mm)
                             .lambda (1,1) Wavelength   (nm)
                             .f      (1,1) Focal length (mm)
                             .bD     (1,1) Defocus phase aberration
                   .r	(2,:) Centers of PSF (micro-m)
                   .i	(1,:) Intensities of PSF
   -------
   Outputs
   -------
   f   (n,m)       Pixel output

--------------------------------------------------------------------------
   Reference:  Virendra N. Mahajan, "Beam Focusing and Depth of Focus,"
               The Aerospace Corporation.
--------------------------------------------------------------------------
   See also:
   besselj, trapz, FresnelNumber
--------------------------------------------------------------------------

Children:

Imaging: Optics/FresnelNumber

Back to the Imaging Module page