メインコンテンツ

airyDiskRadius

R2026b

Compute Airy disk radius of diffraction-limited optical system

Since R2026b

Description

Add-On Required: This feature requires the Optical Design and Simulation Library for Image Processing Toolbox add-on.

radius = airyDiskRadius(opsys) computes the Airy disk radius of the diffraction-limited spot formed by the optical system opsys for each wavelength in the optical system. The Airy disk radius is the radius of the first dark ring of the diffraction pattern for an ideal circular aperture.

example

radius = airyDiskRadius(opsys,Name=Value) specifies options using one or more name-value arguments. For example, airyDiskRadius(opsys,Wavelengths=[486.1 587.6 656.3]) computes Airy disk radii at wavelengths of 486.1, 587.6, and 656.3 nanometers.

example

Examples

collapse all

Load the sample Double Gauss lens system using zmximport. Compute the Airy disk radius for all wavelengths stored in the system configuration by passing the optical system object to the airyDiskRadius function.

opsys = zmximport("DoubleGaussLens.zmx");
radius = airyDiskRadius(opsys)
radius = 3×1

    0.0008
    0.0010
    0.0011

Load the sample Double Gauss lens system using zmximport. Define an array of three visible wavelengths (486.1 nm, 587.6 nm, and 656.3 nm).

opsys = zmximport("DoubleGaussLens.zmx");
wavelengths = [486.1 587.6 656.3];

Compute the Airy disk radius for each specified wavelength by setting the Wavelengths name-value argument in the airyDiskRadius function.

radius = airyDiskRadius(opsys, Wavelengths=wavelengths)
radius = 3×1

    0.0008
    0.0010
    0.0011

Input Arguments

collapse all

Optical system for which to compute the Airy disk radius, specified as an opticalSystem object.

Name-Value Arguments

collapse all

Specify optional pairs of arguments as Name1=Value1,...,NameN=ValueN, where Name is the argument name and Value is the corresponding value. Name-value arguments must appear after other arguments, but the order of the pairs does not matter.

Example: airyDiskRadius(opsys,Wavelengths=[486.1 587.6 656.3]) computes Airy disk radii at wavelengths of 486.1, 587.6, and 656.3 nanometers.

Wavelengths for which to compute the Airy disk radius, specified as a positive numeric scalar or an M-element numeric vector. M is the number of wavelengths, and each element of the vector is a wavelength in nanometers.

By default, the Wavelengths value is the Wavelengths property of opsys.

Data Types: double

Output Arguments

collapse all

Airy disk radius, returned as a nonnegative numeric scalar or an M-element row vector. M is the number of wavelengths. The radius is returned in millimeters.

Algorithms

The airyDiskRadius object function computes the Airy disk radius using the paraxial f-number of opsys at each specified wavelength.

For each wavelength, the function computes the radius as:

radius = 1.22*lambda*F#

In this equation, lambda is the wavelength converted to millimeters and F# is the paraxial f-number. The result is the ideal diffraction-limited radius for an on-axis point source.

Version History

Introduced in R2026b