opticspy / lightpipes

LightPipes for Python, "Pure Python version"
https://opticspy.github.io/lightpipes/
BSD 3-Clause "New" or "Revised" License
227 stars 52 forks source link

Shift with direct integration Forward #61

Open leguyader opened 3 years ago

leguyader commented 3 years ago

One advantage of the direct integration method "Forward" is that the computation grid can match precisely the section of the field distribution of interest. However, the waveguide restriction for beam propagation is still in place as the output grid cannot be laterally shifted with respect to the input grid. This seems to put a strong restriction on the possible use of the computationally expensive "Forward" method.

Isn't it possible to have input and output grid laterally shifted from each others with the "Forward" method ?