-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unexpected intensity distribution for Fresnel propagation #54
Comments
Dear Philip,
Hope this helps, Lenny |
And here is the code to produce the plot Fresnel. I somehow wasn't able to link a .py file. I hope this works. from LightPipes import * N = 1000 distances = [0, 2f11000, 4f21000 ] def Fresnel_sim_4f_system(N, size, wave_length, r_laser_beam, f1, f2):
intensity_1, def intenstiy_phase_cropper(intensity, phase, N,crop_factor): #function to crop middle plot
cropped_intensity_2, fig1, axs = plt.subplots(2, 3, sharex='col', gridspec_kw={'hspace': 0.05}, figsize=(10, 7)) axs[1, 2].plot(x, intensity_3[:, :, -1][int(N / 2), :]) for j in range(0, 3): plt.show() |
Hi yung-p, I tried your script. You should use Forvard if the Fresnel number >> 1 (angular spectrum method). This is the case in your problem: Fred van Goor.
Alternative code that does the same, but using Forvard.
|
Maybe we should add a new propagation command (let's call it Propagate(F,z) or something like that) It calculates the Fresnel number and decides to use Forvard or Fresnel. Another method to decide is to use the so-called Gauss pilot beam method. First a Gauss beam propagates through the system and based on the radius of curvature of the beam the propagation method is chosen. |
Hello!
This is more of a question about a result i got, rather than an issue i'm experiencing with LightPipes. If this is not the right place to ask this question please let me know!
I am simulating a 4f system and comparing the performance of the Angular Spectrum Method (ASM) and Fresnel propagation.
I have two figures, and in each of the figures in the first row the intensity distributions in three planes are shown; z=0, z=2f and z=4f. The second row show the intensity along the x-axis
My input plane is a unit amplitude plane plane wave masked by a circular aperture with radius r_beam = 3mm.
These are my input parameters:
N = 1000
size = 15 * mm
wave_length = 690 * nm
r_beam = 3 * mm
f1, f2 = 200 * mm, 200 * mm
This is the first figure, using
Forvard
And the second figure, using
Fresnel
I know that the intensity distributions, in the planes z=0 and z=4f should look pretty much identical for both ASM and Fresnel propagation, but the intensity for Fresnel seems to diminish laterally at z = 800mm. Is this maybe because the conditions i'm in are not paraxial enough?
Thanks in advance!
-Philip
The text was updated successfully, but these errors were encountered: