Add automated tests for Laguerre-Gauss and Hermite-Gauss Modes
Opened this issue · 1 comments
rob-shalloo commented
As pointed out by Remi, we should add some automated tests to the implementations of Laguerre-Gauss and Hermite-Gauss Modes.
Some things that could be added to check the modes are behaving as expected:
- Calculate the E-field of the first ~10? 20? 100? modes and calculate their projections onto themselves and each other to show orthogonality. This will be important when it comes to modal decomposition later
- Propagate the modes forward a fixed distance and check the propagated beam versus analytic theory
MaxThevenet commented
Still sth that we would like to do? We took a slightly different approach for HG in #112, which I think covers this. Then this issue would just consist in implementing something similar for LG.