Skip to main content
Solved

Equivalent to WFM_SAMP for Interferograms

  • February 17, 2023
  • 1 reply
  • 61 views

ISHFM

I am writing a macro that would use values from a Zemax-computed interferogram to optimize the lens system. 

I have came across the GETTEXTFILE ZPL command that allows one to specify the type of text file along with some settings that are specified with the MODIFYSETTINGS command. I found this syntax: 

GETTEXTFILE textfilename$, type, settingsfilename$, flag

for type, one could specify “wfm” for wavefront map or “int” for interferogram. 

One could specify the sampling resolution of either the wavefront map or the interferogram in the GUI. However, in ZPL, there is no way to specify the sampling resolution for interferograms. Whereas for wavefront map, one could use the WFM_SAMP argument.

 

Question: Is there a way to specify interferogram sampling resolution, similar to wavefront map?

Best answer by Jeff.Wilde

I could be wrong, but I don’t think there is an option to change the Inteferogram settings with ZPL using the MODIFYSETTINGS keyword.  However, it can be done using ZOS-API.  Here is a simple Matlab script that does this in Interactive Extension mode:

 

 

 

Regards,

Jeff

View original
Did this topic help you find an answer to your question?

1 reply

Jeff.Wilde
Luminary
Forum|alt.badge.img+3
  • Luminary
  • 503 replies
  • Answer
  • February 18, 2023

I could be wrong, but I don’t think there is an option to change the Inteferogram settings with ZPL using the MODIFYSETTINGS keyword.  However, it can be done using ZOS-API.  Here is a simple Matlab script that does this in Interactive Extension mode:

 

 

 

Regards,

Jeff


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings