Unit Cell Position Numbers (UPNs)

After you finish building a metalens in BUILD module, results are exported to the directory your_SMDPRO_project_folder/results/build
. In this folder, you will find txt files that contain the dimensions of all unit cells across the lens (e.g. dimensions_style#.txt). In these files, the numbers to the right of the unit cell dimension symbols are the unit cell position numbers (UPNs). For example, for 'R1', 'R' stands for radius of the circular unit cell and '1' is the UPN. The unit cell positions are with respect to the coordinate origin in SMD PRO - this is also illustrated in the exported file 'dimensions_help.png'.
If the flip or translation option of GDS in SETTIGNS is used, then the same coordinate conversion should be applied to match the dimensions in the txt file with the shapes in the GDS file. For example, if GDS translation is used, then the UPN 1 corresponds to the 'bottom right' unit cell, instead of 'bottom left'.
Last updated