Hello! I want to use grid phase to generate arbitrary regulation of wavefront and have some attempts following the method in handbook. But there are some problems. The same .DAT file which I succeeded to run in the Zemax2013 did not work in the Zemax OpticStudio. All non-zero values turned to 1.989965E-312. It really confused me and I sincerely thank you for your answer!
Problem with grid phase
Best answer by David.Nguyen
Hi Hanukkah,
I guess backward compatibility has its limits sometimes, and I definitely can’t help with that. But if you tell us what you’d like to achieve, I’m sure somebody will likely help you fix your problem.
How does your *.DAT file look like?
The current format your *.DAT file should be in is described in the Help File of OpticStudio under: The Setup Tab > Editors Group (Setup Tab) > Lens Data Editor > Sequential Surfaces (lens data editor) > Grid Phase. This section of the Help File points differences with respect to the Grid Sag Format found here: The Setup Tab > Editors Group (Setup Tab) > Lens Data Editor > Sequential Surfaces (lens data editor) > Grid Sag. An excerpt from that Help Section reads:
The proper file format is as follows:
nx ny delx dely unitflag xdec ydec z dz/dx dz/dy d2z/dxdy nodata...
Does that somehow look similar to your *.DAT file, and if not, could you convert it?
Take care,
David
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.