Navigation: Scripting Reference Manual > Data Structures > T_SOURCEPOSAPODSAMPLED

 

T_SOURCEPOSAPODSAMPLED

 

Contact Us: fredsupport@photonengr.com

 

Description

Data structure for Amplitude/Phase Mask Power Apodization of Detailed Sources. The array can represent a general complex quantity.

 

Definition

Type T_SOURCEPOSAPODSAMPLED

semiApeX As Double

semiApeY As Double

offsetX As Double

offsetY As Double

numRows As Long

numCols As Long

typeTop As String

typeBot As String

End Type

 

Members

semiApeX

X Semi-aperture length of data array.

 

semiApeY

Y Semi-aperture length of data array.

 

offsetX

X offset applied to data array.

 

offsetY

Y offset applied to data array.

 

numRows

Number of rows in data array.

 

numCols

Number of columns in data array.

 

typeTop

Data type for the array Top. The Top array values can be "pow", "amp", or "real". This string is not case sensitive. The meanings are given below:

 DataType

Meaning

 "pow"

Top data is power in Watts (amplitude squared).

 "amp"

Top data is amplitude.

 "real"

Top data is real part of the complex field. Intended to be used when Bottom DataType = "imag".

 

typeBot

Data type for array Bottom. The Bottom values can be in "wav", "opt", "opl", "deg", "rad", "phase", or "imag".  This string is not case sensitive. The meanings are given below:

 DataType

Meaning

 "wav"

Bottom data is in units of waves. These values are multiplied by 2*pi to give internal units of radians.

 "opt" or "opl"

Bottom data is in units of optical path length in system units. These values are multiplied by k (k = 2*pi / wavelength) to give internal units of radians.

 "deg" or "phase"

Bottom data is phase in degrees. These values are multiplied by pi/180 to give internal units of radians.

 "rad"

Bottom data is phase in radians.

 "imag"

Bottom data is imaginary part of the complex field. Intended to be used when Top DataType = "real".

 

 Note the "real" (top) and "imag" (bottom) data types are expected to be used together as a pair.

 

Used as Parameter in

GetSourcePosApodSamp

SetSourcePosApodSamp

InitSourcePosApodSamp

 

 

 

 

 

Copyright © Photon Engineering, LLC