Solved

How to visualize different performances in histogram for one tolerance run

  • 1 September 2023
  • 1 reply
  • 77 views

Userlevel 5
Badge +3

For example, I want the histogram of distortion, effective focal length histograms. How can I do it? 

icon

Best answer by yuan.chen 1 September 2023, 07:55

View original

1 reply

Userlevel 5
Badge +3

For the visualization of different results in Histogram, I think the most suitable function to list the performance distribution if you generate a set of MC files.
Here is how we can set this up:

  1. Create the merit function that contains the data you want to observe and save it to the default merit function folder.

?name=image.png
2. Generate the tolerance script and list the data you want to observe. The name of the merit function file is flexible, and you don't need to report adjacent lines, this is just an example.
?name=image.png
3. Set the tolerance and check Save tolerance data, select User script -> the script you generated.
?name=image.png
?name=image.png
4. Open the Histogram and select the ztd file generated and you can see the histogram of the data you want to visualize
?name=image.png
There is a KBA that describes more details. 
How to get any optimization operand value in the tolerance report – Knowledgebase (zemax.com)

Reply