diff options
author | Eugeniy Mikhailov <evgmik@gmail.com> | 2014-05-20 12:07:41 -0400 |
---|---|---|
committer | Eugeniy Mikhailov <evgmik@gmail.com> | 2014-05-20 12:07:41 -0400 |
commit | 54b4b5e11a79cba228a6b8b5d30c9a7cb90e2195 (patch) | |
tree | 717bdfb198c0c9ac4207f020a32852be32a224a1 /demo_diffraction_on_a_disk.m | |
parent | 5d1694d2de92dd2f0941f3c1b071566943ec5b67 (diff) | |
download | beam_reshape-54b4b5e11a79cba228a6b8b5d30c9a7cb90e2195.tar.gz beam_reshape-54b4b5e11a79cba228a6b8b5d30c9a7cb90e2195.zip |
corrected camera imaging simulation
Diffstat (limited to 'demo_diffraction_on_a_disk.m')
-rw-r--r-- | demo_diffraction_on_a_disk.m | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/demo_diffraction_on_a_disk.m b/demo_diffraction_on_a_disk.m index 7f5ecc4..5cb2424 100644 --- a/demo_diffraction_on_a_disk.m +++ b/demo_diffraction_on_a_disk.m @@ -42,14 +42,15 @@ ypos_t=linspace( -tgt_size_y, tgt_size_y, Ny_t); %ypos_t=linspace( 0, 0, Ny_t); %% full image which mimics camera -Nx_t=101; % use Nx_t = 680 to mimic camera -Ny_t=int32(Nx_t*(480/640)); -img_t=zeros(Ny_t,Nx_t); -tgt_size_x = (640*7e-6)/2; % each pixel is 7 um -tgt_size_y = (480*7e-6)/2; -xpos_t=linspace( -tgt_size_x, tgt_size_x, Nx_t); -ypos_t=linspace( -tgt_size_y, tgt_size_y, Ny_t); - +%Nx_t=640; % use Nx_t = 680 to mimic camera +%Ny_t=int32(Nx_t*(480/640)); +%img_t=zeros(Ny_t,Nx_t); +%tgt_size_x = (640*7e-6)/2; % each pixel is 7 um +%tgt_size_y = (480*7e-6)/2; +%xpos_t=linspace( -tgt_size_x, tgt_size_x, Nx_t); +%ypos_t=linspace( -tgt_size_y, tgt_size_y, Ny_t); + +%% propagation distance z_t=.50; |