cihologramas / pyoptools

Python tools for optical design
GNU General Public License v3.0
136 stars 45 forks source link

Solve resonant cavities problem #158

Closed ramezquitao closed 3 months ago

ramezquitao commented 4 months ago

When the system contains a resonant cavity, pyOpTools will try to propagate the rays "for-ever". This causes the kernel to die. A fix for this must be implemented by limiting the number of iterations in the propagate method.

I think this is related to the problem reported in #151