ZPL Macro: Sequential Manually add step wise compensation to MC files

  • 23 July 2021
  • 0 replies
  • 200 views

Userlevel 6
Badge +2

This macro applies incremental changes to a compensator in Monte Carlo files, then reports the updated criterion. It will cycle through Monte Carlo files and apply a discretely-valued compensator to a particular surface. Then, the criterion will be analyzed and reported. (Note, the report could use some formatting updates). This code may be used to represent step-wise compensation tools. For example, a mirror's tilt may be applied as a compensator to a change in the system. However, it may be the case that the mirror's housing makes it so that the mirror is only allowed to tilt in increments of 2 degrees. This macro will cycle through the MC files, apply the incremented compensation up to a particular boundary, and will report the result. The changes to each file are NOT saved.

Language: ZPL

 

Click here to download

Date Version OpticStudio Version Comment
2020/02/07 1.0 20.1 Creation

0 replies

Be the first to reply!

Reply