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.

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

   ------
   Inputs
   ------
   x   (:,:)       X coordinates (um)
   y   (:,:)       Y coordinates (um)
   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 (um)
                   .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