微粒子や表面での散乱

e2 = farfield3d("reflection",1,200,200,1,1,1,1);
ux = farfieldux("reflection",1,200,200,1);
uy = farfielduy("reflection",1,200,200,1);
# calcualtes portion of e field within the divergence angle of the lens (or the Gaussian source)
signal=farfield3dintegrate(e2,ux,uy,divergence_angle)/farfield3dintegrate(e2,ux,uy);