summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugeniy Mikhailov <evgmik@gmail.com>2014-05-19 17:46:26 -0400
committerEugeniy Mikhailov <evgmik@gmail.com>2014-05-19 17:46:26 -0400
commit2b8fb75d3d3637f4a0019096728a97797120a49a (patch)
tree40d85ec2d9ca976e12874c18e35ee3e599803130
parent240d1de52762c64e5dc6c981780b2320bfd191e4 (diff)
downloadbeam_reshape-2b8fb75d3d3637f4a0019096728a97797120a49a.tar.gz
beam_reshape-2b8fb75d3d3637f4a0019096728a97797120a49a.zip
make LG and diffraction similar
-rw-r--r--demo_diffraction_on_a_disk.m2
-rw-r--r--gauss_diffraction_on_aperture.m2
2 files changed, 2 insertions, 2 deletions
diff --git a/demo_diffraction_on_a_disk.m b/demo_diffraction_on_a_disk.m
index a066da6..3eb511c 100644
--- a/demo_diffraction_on_a_disk.m
+++ b/demo_diffraction_on_a_disk.m
@@ -64,4 +64,4 @@ imwrite(img_t/max(img_t(:)),'diffracted_image.png')
show_diffraction(img_source, xpos_s, ypos_s, img_t, xpos_t, ypos_t);
% radial slice of the target image
-figure(3); plot( xpos_t, abs( img_t(1,:) ) )
+figure(3); plot( xpos_t, abs( img_t(Ny_t/2,:) ) )
diff --git a/gauss_diffraction_on_aperture.m b/gauss_diffraction_on_aperture.m
index bd962f6..479c6dc 100644
--- a/gauss_diffraction_on_aperture.m
+++ b/gauss_diffraction_on_aperture.m
@@ -24,7 +24,7 @@ n=50;
domain(:,:,1)=rmesh; domain(:,:,2)=thetamesh;
w=0.0014*3/2;
-R=1;
+R=.3;
lambda=0.795e-6;
q=q_(w,R,lambda);