RayBundle
Description
Add-On Required: This feature requires the Optical Design and Simulation Library for Image Processing Toolbox add-on.
A RayBundle object stores information on the rays traced through
the optical system from a single field point at a specific wavelength.
Creation
Create a RayBundle object by using the traceRays,
traceChiefRay, or
traceMarginalRays
function to trace rays through an optical system.
Properties
This property is read-only.
Field point representation of the light source, represented as one of these values.
FieldPoint Value | Field Point Type |
|---|---|
| Field point represents a light source that is at an infinite distance. |
| Field point represents a light source that is at a finite distance. |
This property is read-only.
Wavelength for which the rays are traced, represented as a positive numeric scalar. Units are in nanometers.
This property is read-only.
Sampling configuration, represented as a structure with these fields.
| Field | Value |
|---|---|
Grid | Sampling grid, represented as a samplingGrid object. |
Type | Sampling surface, represented as one of these options.
|
This property is read-only.
Ray data from rays traced through the optical system, represented as a structure with these fields, which correspond to ray properties.
| Field | Value |
|---|---|
| Number of traced rays, represented as a nonnegative integer. |
| Maximum number of straight-line ray segments that any single ray can have as it passes through the optical system, represented as a nonnegative integer. |
| Length of each ray, represented as a |
Origin | Origin of the ray in the global coordinate system, represented as a
|
HitPoints | Ray intersection coordinates in the global coordinate system,
represented as a
Note If a ray terminates before reaching |
| Ray direction vectors at each segment, represented as a
Note If a ray terminates before reaching |
TerminationMode | Ray termination, represented as a
|
LastRayDirection | Final direction vector of each ray, represented as a
|
OrientedGrid | Grid coordinates of each ray, represented as a
|
To return one or more of these additional ray properties, specify the
RayProperties name-value argument of the traceRays,
traceChiefRay, or traceMarginalRays function.
| Field | Value |
|---|---|
| Surface normal vectors at ray intersection points, represented as a
Note If a ray terminates before reaching |
| Angle of incidence at each ray-surface intersection, represented as a
Note If a ray terminates before reaching |
| Optical path length (OPL), represented as a
Note If a ray terminates before reaching |
| Ray intersection coordinates in the local reference frame,
represented as a
Note If a ray terminates before reaching |
|
The s-polarized and p-polarized incident electric field vectors are perpendicular and parallel to the plane of incidence, respectively. Note For the |
PolarizationMatrices |
Note For the |
For more information about the global and local coordinate systems, see Coordinate Systems in Optical Design.
Version History
Introduced in R2026a
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
웹사이트 선택
번역된 콘텐츠를 보고 지역별 이벤트와 혜택을 살펴보려면 웹사이트를 선택하십시오. 현재 계신 지역에 따라 다음 웹사이트를 권장합니다:
또한 다음 목록에서 웹사이트를 선택하실 수도 있습니다.
사이트 성능 최적화 방법
최고의 사이트 성능을 위해 중국 사이트(중국어 또는 영어)를 선택하십시오. 현재 계신 지역에서는 다른 국가의 MathWorks 사이트 방문이 최적화되지 않았습니다.
미주
- América Latina (Español)
- Canada (English)
- United States (English)
유럽
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)