Leonard

Results 27 comments of Leonard

Hi foxwb, thanks for the report. It seems you ran into a problem with *aliasing*. The field is stored as a 2D array of complex numbers, the magnitude (abs of...

Dear Ivan, I think you are on the right track. I'll try to comment each point: 1. The propagation with `Fresnel`/`Forvard` seems fine. For `wavelength=632.8nm` and `w0=0.3mm` the Rayleigh range...

Dear Ivan, I finally found the time to test your updated examples (by the way thanks for supplying a fully working code/ MWE, it helps a lot to investigate). 1....

Dear linmanshuo, I have never worked with the higher order Gauss beams in LightPipes (or outside), maybe Fred has some more insight. For the moment I can suggest to you...

Dear Philip, this is the right place to ask. That is indeed interesting, maybe you can provide a minumum working example of code to reproduce the lower plot? * From...

Thanks, this is an interesting observation, I gave it a try and found the following: The code evidently distinguishes between 0 and -0, resulting in a different complex phase angle....

Dear jmmelko, thanks for your feedback. Regarding the `GaussBeam`, you are right, it seems `x_shift`/`y_shift` are the better choice. Maybe Fred or I can update this in the coming week...

Hi guys, thanks for the quick reply. You can check out the code at https://github.com/ldoyle/lightpipes/tree/pythonicport I can also open a Pull Request so you can have it as a branch...

Hi Fred, I checked this and you are absolutely right. I hadn't done extensive tests, I only noticed that it seemed to be faster in some cases with larger grids....

Hi Fred, thanks for the Matlab FFT article, very insightful. I have implemented the same random number picker for testing the dependecy on N. Because it is faster and contains...