CLOSE WINDOW }CR@XD}[
DELETEMFO ALL 6LGy0dWpG
W = 5 rek89.p
K= 20 7=YjY)6r^
sample = 80 RCFocOOn
SYSP 11, W*6 REyk,s2"6
SYSP 12, 1 MroJ!.9
apod_factor =1/POWER((1/3),1) 6K/j,e>L
SYSP 13, apod_factor H_RVGAbU
FOR I, 1, sample+1, 1 ~^U(G As
INSERTMFO I ,S|v>i,@
SETOPERAND I, 11, “REAY” >x(3p@6p
SETOPERAND I, 9, 1 w7.I0)MH
norm_pupil_coord = I/sample e 1W9Z $m
X= norm_ pupil_coord*W*3 v&[Ff|>
# Un-normilized pupil coordinate +?xW%omy
S= K*SQRT(1-EXPE(-2*POWER(X,2)/POWER(W,2))) =WaZy>n}7
#same as the final equation in the article k<mfBNvuo
SETOPERAND I, 8, -S /V66P@[>
# set target. Positive input #coordinatehas negative pi>,>-Z
# output coordinate (positive lens) thusthe negative sign Kh)SgJ3B@
SETOPERAND I, 7, norm_pupil_coord 4I"p>FIkY
# Set Py column of the operand ;&|MNN^
SETOPERAND I, 2, NSUR() p[E}:kak_-
# specify the image surface for the REAYvalue calculation Q@]QPpe
NEXT 5*.JXxE;U
OPTIMIZE @M[t|
UPDATE ALL # Update all windows CzP?J36W^
END