-
I want to change the amplitude to see the change of the electromagnetic field after the simulation of the grating by meent, or as I think, the amplitude is only the value of the electromagnetic field is scaled ? Another question is how do I see the phase change ? For example, I simulate a one-dimensional grating, how should I view its phase change ? |
Beta Was this translation helpful? Give feedback.
Answered by
yonghakim
Jun 6, 2024
Replies: 1 comment
-
Hi,
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
xungu1
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
the amplitude of incident light is set to 1.
Field returned by Meent is array of complex numbers. I think you can use
numpy.angle()
to find phase. Is this what you are looking for?