Skip to main content

Dear ALL: 

      We’ve been asked to look into exporting ray data from a Non-sequential Zemax model in the following format style.    The first few (6)  terms look to be part of the ZRD command.     

        The format is::   x, y, z, L, M, N, Lumens, Wavelength."

But how would one also get the Lumens and Wavelength data ?  Wouldn’t that only be available  at a DETECTOR plane ?   

 

Thank you in advance. 

Mod note: moved to more appropriate forum for OS-related discussions.] 

Hi James,

You may check the last message in this post: How to save detector ray data as a source file | Zemax Community

If the data is saved as .sdf format, it could contain the wavelength and energy information.

Speos and Zemax Source file converter – Knowledgebase

If you want to reformat the .sdf data, you can use the python code here:

Python Reading Writing Binary Files (ZRD, ZBF, DAT, SDF) | Zemax Community


Reply