-
Notifications
You must be signed in to change notification settings - Fork 1
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
spatial resolution of the source plane #6
Comments
Thank you! This is one of the biggest issue of PyWolf and it is something that I will try to improve in the next version. The simulation is based on the Fast Fourier Transform algorithm, which means that the spatial resolution in the observation plane is determined by the spatial resolution of the source plane (and also the distance, frequency and matrix size). This equation is in the paper of PyWolf (Eq. 40 of the open-access paper). To choose the right resolution, you need to go "the other way around" and see if you can "adjust" the frequency, source spatial resolution, matrix size, distance or frequency so that you get your desired spatial resolution in the observation plane. What I am planning to do in the next version is to "remove" this dependence so that one can specify the spatial resolution in both planes without any impact between them. Paper [Eq. (40)]: |
Thank you very much for your reply. |
The number "107" depends on the matrix size. Mine is 200, so the center of the ring is 100. Since the inner radius is 7 pixels, I added 100+7. Example: If you are using N=64, you can select 64/2 + 7. I forgot to mention the following. The spatial resolution may play a key role. In my case, the spatial resolution of the observation plane is about 5 micrometers, while the source spatial resolution is 1 mm. This means that if we do get a ring-like result, we should take into account what would be its dimensions, otherwise we will be "inside it" or too far away. Furthermore, if we want to simulate coherent beams to see, for example, if they spread or not, we should use models like the Gaussian Schell-model beam and turn off the far-field approximation. Otherwise, we will just be using the classical wave optics approach. |
Thank you very much for your answer. I feel I gained a lot. |
Thank you so much. It is a great job and has inspired me a lot. But I would like to ask why the spatial resolution of the source plane has a big impact on the spectral density of the image plane? How should I choose the right resolution for a particular problem?
The text was updated successfully, but these errors were encountered: