We have an exciting announcement about badges coming in May 2025. Until then, we will temporarily stop issuing new badges for course completions and certifications. However, all completions will be recorded and fulfilled after May 2025.
Optics

Optics

Topics related to Speos.

(Zemax) Tolerancing and Reporting for Wavefront Error

    • elliot.saive
      Subscriber

      Hello!

      Preamble: I am using a tolerance script which calls a merit function (MF) that is optimizng for RMS wavefront error (WFE). Among others, there is an operand RWCE for WFE in that MF with weight 0.000. I have a whole tolerance table as usual, and some run-of-the-mill compensators in my script. At the end of the script, I report RWCE, which by manual inspection appears to be a reasonable and correct number. 

      In my tolerance report, in the Sensitivity Analysis and the Monte Carlo simulation, I am getting two things: My WFE value from the RWCE operand as expected when using the REPORT command in my script, and also the "Nominal Criterion" which is the literal merit function value since I am using a user-defined script. For me, the WFE is the actual useful thing for real life assessment of the system. 

      Here is my question: It is well and good that my report lists the WFE for each tolerance extreme in the Sensitivity analysis and each Monte Carlo output because I can read it manually and make sure I am within my performance constraints. However, what I really want is the summaries (see two screenshots) for the Sensivity analysis and the Monte Carlo analysis to be in WFE, not merit function value. 

      If I were to not use a user-defined script, I'm aware I could select any criterion I want as the "nominal criterion" from the Criterion menu of the Tolerancing function. However, I have to use a script because I need to define tilt as compensators using CPAR and my tolerance data editor flips out if I try to use CPAR there.

      Thank you very much.

      Attachments:

      sensitivity-summary: Sensitivity analysis summary which is reporting the merit function. I'd like this to be in WFE.

      montecarlo-summary: Monte Carlo analysis summary which is reporting the merit function. I'd like this also to be in WFE.

      Sensitivity analysis summary which is reporting the merit function. I'd like this to be in WFE.

       

       

    • Christophe Weisse
      Ansys Employee

      Hello,
      Thanks for the detailed description.
      I think you have ways to access the needed information:
      For the Monte Carlo statistics, you can actually click on the "Statistics" cell of any column, and access the needed information:

       

      With the histogram tool, you may also have a visual feedback of any tolerance operand, merit function or reported merit function operand:

      For the worst offenders, you can sort the tolerance results in any order, for any column of your choice:

      Does this looks OK for you ?
      All the best,
      Christophe

    • elliot.saive
      Subscriber

      This is great, thank you very much.

    • Christophe Weisse
      Ansys Employee

      Thanks for your feedback

Viewing 3 reply threads
  • You must be logged in to reply to this topic.