I have a wavefront file from a wavefront sensor in a single-pass setup. I’d like to be able to import that into Zemax and back-propagate that wavefront or rays through a lens model. Initially, I thought I would have to extract the wave vectors from the wavefront file and sample those arrays across the pupil in Zemax; however, I don’t see a way to import rays into a sequential file.
As I have the wavefront file and fitted Zernike coefficients, perhaps I could use a phase surface to recreate the correct OPD. I saw this post about using a grid phase surface or a Zernike surface. This seems like the best way to approach the goal.
I am curious if others have done this and what advice they have, if any, in avoiding any pitfalls.
Thanks