Skip to main content

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


Allie
Zemax Staff
Forum|alt.badge.img+2
  • Zemax Staff
  • 338 replies

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
Did this topic help you find an answer to your question?

0 replies

Be the first to reply!

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings