CLOSE WINDOW
}"[/BT5t DELETEMFO ALL
?v`24p3PC W = 5
+BE_t(%p" K= 20
{asq[;] sample = 80
93=?^ SYSP 11, W*6
:w)9(5 SYSP 12, 1
x4,[5N"}YK apod_factor =1/POWER((1/3),1)
5mZwg(si SYSP 13, apod_factor
+pQ3bX FOR I, 1, sample+1, 1
{XV'C@B INSERTMFO I
%'VzN3Q5V SETOPERAND I, 11, “REAY”
(EH}lh}% SETOPERAND I, 9, 1
3QF[@8EH{ norm_pupil_coord = I/sample
bdEIvf7 X= norm_ pupil_coord*W*3
uMRzUK`QK # Un-normilized pupil coordinate
d^`;tD S= K*SQRT(1-EXPE(-2*POWER(X,2)/POWER(W,2)))
/FjdcH= #same as the final equation in the article
\jZ)r>US" SETOPERAND I, 8, -S
hZWkw{c # set target. Positive input #coordinatehas negative
F+L%Ho;@P # output coordinate (positive lens) thusthe negative sign
8idI