From 2b8fb75d3d3637f4a0019096728a97797120a49a Mon Sep 17 00:00:00 2001 From: Eugeniy Mikhailov Date: Mon, 19 May 2014 17:46:26 -0400 Subject: make LG and diffraction similar --- demo_diffraction_on_a_disk.m | 2 +- gauss_diffraction_on_aperture.m | 2 +- 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); -- cgit v1.2.3