xzos / PyZDDE

Zemax/ OpticStudio Extension using Python
MIT License
159 stars 67 forks source link

ZBF file created with PyZDDE #106

Open Jontza opened 2 years ago

Jontza commented 2 years ago

I've created a ZBF file with PyZDDE's writeBeamFile function from far-field data of MEEP FDTD simulation. For some unknows reason the beam looks like it has 5 images of the far-field in row, instead of one image of the far-field. The resulting beam file looks like this in Zemax File Viewer:

image

Meanwhile, it should look something like this:

image

Is there some reason why the ZBF file could give this kind of result?