Navigation: Scripting Reference Manual > Functions & Subroutines > GetMzrAberrationTarget

 

GetMzrAberrationTarget

 

Contact Us: fredsupport@photonengr.com

 

Description

This command retrieves the target value from a specific merit function aberration.

 

 

Syntax

GetMzrAberrationTarget aberIndex, targetValue

 

 

Parameters

aberIndex As Long

Index into the optimization aberrations list for which the aberration target value is being retrieved.

 

targetValue As Double

Returned target value of the aberration being queried.

 

 

Example

The following example retrieves the target value from the aberration at index 0 and prints the value to the output window.

 

Sub Main

 

    Dim targetValue As Double

    GetMzrAberrationTarget( 0, targetValue )

    Print "Aberration target value is: " & targetValue

 

End Sub

 

See Also

Optimization Script Commands

 

 

 

 

 

Copyright © Photon Engineering, LLC