Skip to main content
Answer

Performing DOE with tilt and decenter while extracting image simulation results

  • November 11, 2022
  • 1 reply
  • 152 views

Hello Everyone,

 

I want to run a DOE with ZEMAX where the idea is to generate synthetic data by running image simulations while changing position of lenses (adding decenter and tilt to individual lens elements in a lens stack).

I want have a bunch of tilt and decenter scenarios and would like to automate the process via API.

Is there a sample code that I could use for this application? Is there a sample code to automate image simulations and save resulting images in general that I could modify to suit my needs?

All suggestions are appreciated :)

 

Best regards,
Amit

Best answer by Sandrine Auriol

Hi Amit

I don’t have a code that does this scenario but I think it all comes down to calling the Image Simulation in the API.

Here are two posts that will help:

  • Settings: The Image Simulation settings are not implemented in the API but you can get use the modifysettings method 
  • Results: you can save the image created by the Image Simulation:

Let us know if you need more help.

 

1 reply

Forum|alt.badge.img+2

Hi Amit

I don’t have a code that does this scenario but I think it all comes down to calling the Image Simulation in the API.

Here are two posts that will help:

  • Settings: The Image Simulation settings are not implemented in the API but you can get use the modifysettings method 
  • Results: you can save the image created by the Image Simulation:

Let us know if you need more help.