rafael-fuente / diffractsim

✨🔬 A flexible diffraction simulator for exploring and visualizing physical optics.
https://rafael-fuente.github.io/simulating-diffraction-patterns-with-the-angular-spectrum-method-and-python.html
Other
754 stars 93 forks source link

Light propagation inside lenses or gratings #44

Closed LiuX2018 closed 1 year ago

LiuX2018 commented 1 year ago

Is there a method for modeling light propagation inside lenses or gratings? Specifically, we may treat them as thick components instead of simple transmission functions.

rafael-fuente commented 1 year ago

Hi. There is no currently implemented method for propagating light inside a lens. Generally, this would require a full wave simulation of the lens using a tool like meep FDTD, which is beyond this project's scope. (Although you can still implement in meep FDTD your simulated lens, store the field and load it with diffractsim to study the free-space propagation.

Another possibility is to look at approximate methods, like BPM.

LiuX2018 commented 1 year ago

Ok, thanks very much.