Hello! I’m trying to import a phase profile of DOE from matlab with DAT file and Grid Phase surface. You can see in this file and in matlab screenshot that max value of phase profile is near 4000 for circular aperture. But at the surface phase figure in optic studio max value is about 670. And min value is -1,3 instead of 0. For writing this file I used code discribed in Knowledgebase articles about Grid Sag because this surface are very similar. Why OpticStudio doesn’t import this file correctly?
So is that something wrong with DAT file or this code doesn’t match with Grid Phase? Could you please discribe suitable code for matlab?
Thank you for the future answers!!