We can first check if the certain analysis has setting interface by using the HasAnalysisSpecificSettings property:
my_analysis.HasAnalysisSpecificSettings
If settings are available, then settings can be configured directly.
Or we can search from OpticStudio helpfile to see if the analysis supported by ModifySettings methods, since the use of the method is similar to ZPL keywords, so we can check supported analysis and type code from the following chapter in helpfile:
The workaround for Partially Coherent Image Analysis would be:
Open a blank file- LENS.ZMX, open Partially coherent image analysis window and Merit function editor
Uncheck Auto apply
Configure the analysis window with settings you will use later
Add ZPLM(mac#21) into MFE. Click update button in merit function editor (ZPL file being attached, you may change the highlighted part to fit your situation )
It will ask you to input the filename, which will be the saved CFG filename
These steps can be repeated until setting combinations you are going to use are saved.
2.Once finished, these setting files can be used in other lens files
Please note that ZPLM is not commonly used as this way (Keywords INPUT is not friendly for optimization usage).
We use 3 different kinds of cookies. You can choose which cookies you want to accept. We need basic cookies to make this site work, therefore these are the minimum you can select. Learn more about our cookies.