Skip to main content

I’m trying to put together a Matlab script using the ZOS-API. I’ve been following the material in the Zemax Knowledge Articles in MyZemax.



What I want to do is gather data from the Physical Optics Propagation and iterate over a handful of different conditions, but retain the phase and irradiance data from each iteration. Using the TheSystem.Analyses, there is no option for Physical Optics. I was wondering if you could provide some insight into this.



If you need more information, please let me know.



Thank you very much.

Hi Chris,



Thanks for your questions here!



May I ask which version of OpticStudio you are using? I am asking because Physical Optics Propagation was added to the API in the OS 20.3 release. You may find it in the Release Notes: OpticStudio20-3_ReleaseNotes.pdf (zemax.com)



Regarding how to run this specific analysis and how to adjust the POP settings from the API, this forum thread discusses this question in detail:



Physical Optics Propagation (POP) - API settings · MyZemax



I hope this helps, but if you have any further questions, please let us know and we will be happy to help!



Best,



Csilla



 


Reply