lda0 1.55[um] "Design wavelength" px 500[nm] "Unit cell spacing in x" py 500[nm] "Unit cell spacing in y" tSub extraSpace/nSiO2 "Thickness of substrate" tPost 1[um] "Thickness of posts" tAir tPost+extraSpace "Thickness of air" extraSpace lda0/2 "Ensure there is sufficient space above/below the posts" nSiO2 1.444 "Index of the substrate at the design wavelength" N 6 "Number of unit cells" d N*px "Structure size in x" x1 "(0 + 1/2)*px" "Location of post 1" x2 "(1 + 1/2)*px" "Location of post 2" x3 "(2 + 1/2)*px" "Location of post 3" x4 "(3 + 1/2)*px" "Location of post 4" x5 "(4 + 1/2)*px" "Location of post 5" x6 "(5 + 1/2)*px" "Location of post 6" r1 90[nm] "Radius of post 1" r2 130[nm] "Radius of post 2" r3 150[nm] "Radius of post 3" r4 165[nm] "Radius of post 4" r5 180[nm] "Radius of post 5" r6 195[nm] "Radius of post 6" theta asin(lda0/d)/1[deg] "Deflection angle"