ZPL Macro: Create a GGD (Grid Gradient) file

  • 31 March 2022
  • 0 replies
  • 258 views

Userlevel 6
Badge +2

This macro will generate a GGD file based on user-defined formula. Before running this macro, define the ranges in xyz directions that you want to generate index data. And also define the number of points in each directions. The more the points are defined, the more accurate the interpolation can be, but the slow the simulation is. The index formula is defined in the sub routine "cal_index.". By default, this macro generates an index distribution that is Gaussian in XY-plane and linear changed in Z direction.

 

 Click here to download

Date Version OpticStudio Version Comment
2018-03-05 1.0 - Creation

0 replies

Be the first to reply!

Reply