Navigation: Scripting Reference Manual > Functions & Subroutines > GetDiffractHOECoefCount

 

GetDiffractHOECoefCount

 

Contact Us: fredsupport@photonengr.com

 

Description

Retrieves the count of HOE aspheric phase deformation coefficients for a specified surface.

 

Syntax

count = GetDiffractHOECoefCount ( n )

 

Parameters

count (Long)

Number of HOE phase coefficients for the specific surface.  The maximum coefficient index for referencing is therefore count-1.

 

n As Long

Node number of the surface.

 

Remarks

This function retrieves the count of HOE phase coefficients for a specific surface.  If there is a problem, the function sets an error and returns 0.

 

See Also

Diffraction Grating Script Commands

Diffraction Gratings

 

 

 

 

 

Copyright © Photon Engineering, LLC