radiasoft / sirepo

Sirepo is a framework for scientific cloud computing. Try it out!
https://sirepo.com
Apache License 2.0
63 stars 31 forks source link

add infinite coherence length error #4921

Open moellep opened 1 year ago

moellep commented 1 year ago

If the beam is fully coherent, the coherence length would be infinite. In this case shown an error message for the appropriate axis, ex. "Horizontal coherence length: the beam is fully coherent causing the coherence length to be infinite".

moellep commented 1 year ago

This error will occur when the emittance aproaches lambda/(4*pi)