-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Normalization of intensity integrated on all orders #19
Comments
Thank you for your feedback. For instance, at a wavelength of 460 nm, there is still a 10% of energy missing which we cannot explain. Do you have any suggestions? Let me know if you need the nannos script for the comparison. |
Thank you for your advice. Now the right syntax is clear to me. |
Dear authors, thanks for releasing this very nice software. I tried to launch a quick simulation to understand how the code handles normalization when integrating over all orders, but I'm getting extremely large results in transmission. I've tried increasing the number of harmonics, playing with
ref_order
and theevanescent
parameter, or also increasing the precision tosim_dtype = torch.complex128
andgeo_dtype = torch.float64
, but none of these seem to help. Do you have any suggestions?Also, when the simulations wavelength matches the structure period, I see that the torcwa returns zero diffraction efficiencies.
Please, see the script below.
Thank you for your help!
Which gives
The text was updated successfully, but these errors were encountered: