CLOSE WINDOW o5RvxGN
DELETEMFO ALL 3w>1R>7
W = 5 d lAb`ne
K= 20 i{9.bpp/
sample = 80 ouyZh0G
SYSP 11, W*6 @ o<OI
SYSP 12, 1 ;>/Mal
apod_factor =1/POWER((1/3),1) <iH
SYSP 13, apod_factor vH}VieU
FOR I, 1, sample+1, 1 R'1j
INSERTMFO I 'w1ll9O
SETOPERAND I, 11, “REAY” P_H2[d&/>D
SETOPERAND I, 9, 1 3-AOB3](
norm_pupil_coord = I/sample _s<BXj
X= norm_ pupil_coord*W*3 'Hj([N
# Un-normilized pupil coordinate Ya~Th)'>q
S= K*SQRT(1-EXPE(-2*POWER(X,2)/POWER(W,2))) OZz/ip-!lc
#same as the final equation in the article \d.\M
SETOPERAND I, 8, -S -|u
yJh
# set target. Positive input #coordinatehas negative 5{ !"}
# output coordinate (positive lens) thusthe negative sign C \5yo
SETOPERAND I, 7, norm_pupil_coord $mf O:%
# Set Py column of the operand B^]Gv7-
SETOPERAND I, 2, NSUR() 74NL)|M
# specify the image surface for the REAYvalue calculation 7k%!D"6_R
NEXT w`<