Navigation: Scripting Reference Manual > Functions & Subroutines > SetSourceDirApodGaussian

 

SetSourceDirApodGaussian

 

Contact Us: fredsupport@photonengr.com

 

Description

Sets the exponent along with 1/e2 half-angles in degrees for "Gaussian" Directional Apodization on the Power Tab of a Detailed Source.

 

Syntax

SetSourceDirApodGaussian n, gn, xSemi, ySemi

 

Parameters

n As Long

Node number of source.

 

gn As Double

Gaussian exponent

 

xSemi As Double

Gaussian 1/e2 half-width angle along the source coordinate system x-direction (degrees)

 

ySemi As Double

Gaussian 1/e2 half-width angle along the source coordinate system y-direction (degrees)

 

Remarks

Represents a directional apodization of the form Exp[-2rgn] where gn=Sqrt[xSemi2 + ySemi2].

 

If the source Direction Apodization is not of type "Gaussian" then its type is changed to "Gaussian" and values for gn, xSemi & ySemi are applied. No warning message is issued.

 

See Also

GetSourceDirApodGaussian

IsSourceDirApodGaussian

 

 

 

 

 

Copyright © Photon Engineering, LLC