Navigation: Scripting Reference Manual > Data Structures > T_SYNTH_RAYS_FROM_FIELD

 

T_SYNTH_RAYS_FROM_FIELD

 

Contact Us: fredsupport@photonengr.com

 

Description

Sets the parameters for a Gabor Synthesis (see Coherent Field Synthesis dialog).

 

Definition

Type T_SYNTH_RAYS_FROM_FIELD

PowCutoffAbs As Double

PowCutoffFract As Double

XSemiAp As Long

YSemiAp As Long

XMaxRayShift As Long

YMaxRayShift As Long

XMaxRayAngle As Long

YMaxRayAngle As Long

Material As Long

OverlapFactor As Double

End Type

 

Members

PowCutoffAbs

Discard rays whose absolute flux is less than this value.

 

PowCutoffFract

Discard rays whose flux relative to the maximum is less than this fraction (value must be 0-1).

 

XSemiAp

Semi-aperture of individual beamlet in the X-dimension expressed as a power of 2 with the minimum value being 2 and the maximum value being the number of pixels in the X-direction minus 1 (Nx-1). Note that the number of pixels for the complex field calculation must be 2n+1.  The XSemiAp units are samples in the analysis surface (i.e. pixel count).

 

YSemiAp

Semi-aperture of individual beamlet in the Y-dimension expressed as a power of 2 with the minimum value being 2 and the maximum value being the number of pixels in the Y-direction minus 1 (Ny-1). Note that the number of pixels for the complex field calculation must be 2n+1.  The YSemiAp units are samples in the analysis surface (i.e. pixel count).

 

XMaxRayShift

Number of additional beams in the X-direction in units of beamlet full width.  Using the ray shift parameters may be required in order to accurately model fields which exhibit spatial structure away from the center of the analysis grid.

 

YMaxRayShift

Number of extra beams in the Y-direction in units of beamlet full width.  Using the ray shift parameters may be required in order to accurately model fields which exhibit spatial structure away from the center of the analysis grid.

 

XMaxRayAngle

Sets the maximum ray angle in the local X-direction by indicating the number of angular steps that will be used.  The angular step size is set implicitly by the analysis grid size and sampling.  Must be an integer value less than or equal to XSemiAp/2.

 

YMaxRayAngle

Sets the maximum ray angle in the local Y-direction by indicating the number of angular steps that will be used.  The angular step size is set implicitly by the analysis grid size and sampling.  Must be an integer value less than or equal to YSemiAp/2.

 

Material

Node number of immersion material for synthesized rayset.

 

OverlapFactor

Must be set to unity (1).

 

Remarks

This structure mimics most of the options found on the Coherent Field Synthesis dialog.

 

 

Used as Parameter in

CreateRaysFromScalarField

CreateRaysFromScalarFieldFile

CreateRaysFromVectorField

CreateRaysFromVectorFieldFile

 

 

 

 

 

 

Copyright © Photon Engineering, LLC