主要内容

Spot

Spot analysis result for optical system

Since R2026a

    Description

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

    A Spot object stores a spot analysis result, the spot distribution on the image plane and the root mean square (RMS) spot size. Display a 2-D visualization of the spot diagram by using the SpotDiagram object.

    Creation

    Create a Spot object by using the spot object function.

    Properties

    expand all

    RMS spot size, represented as an M-element numeric vector. M is the number of wavelengths for which the spot is computed, represented by Wavelengths.

    Field point representation of a light source, represented as one of these options:

    FieldPoint valueLight Source Type

    FieldAngle object

    Field point that represents a light source at an infinite distance from the first surface of the optical system.

    FieldPosition object

    Field point that represents a light source at a finite distance from the first surface of the optical system.

    To specify light source representations, create field points or arrays of field points using the fieldPoint function.

    Wavelengths for which the spot is computed, represented as an M-element numeric vector. M is the number of wavelengths.

    Location where rays hit the image plane, represented as a 1-by-M cell array, where each cell contains an R-by-2 matrix. Each row of the matrix specifies the coordinates of a point at which a ray hit the image plane in the form [x y], in the local coordinate frame of the image plane. M is the number of wavelengths, and R is the number of rays that hit the image plane for each corresponding wavelength. The maximum value of R is the number of points specified by the SamplingGrid name-value argument of the spot object function.

    Location where chief rays hit the image plane, represented as an M-by-2 numeric matrix. Each row of the matrix specifies the coordinates of a point at which a chief ray hits the image plane in the form [x y], in the local coordinate frame of the image plane. M is the number of wavelengths.

    Object Functions

    spotDiagramChart displaying spot diagram of optical system

    Version History

    Introduced in R2026a