Photonics

Photonics

Topics related to Lumerical and more.

E-field data written in the monitor

    • Jisung Hwang
      Subscriber

      Hello, I would like to ask you a question regarding E-field data in the monitor..

      When I check the E-field data size displayed on the monitor, I notice that the total size of each E-field data point is (321, 218, 1, 2).

      The dimensions (321, 218) represent the position of each mesh grid point, but I'm uncertain about what the last component, '2', signifies. I don't believe it represents the real/imaginary components of the E-field because the E-field data is expressed as a complex number for each element.

      Ex) a = getresult('monitor_SiO2_Au', 'Ex');

            print(a(321,218,1,1)) -> 1.12253+0.722588i

            print(a(321,218,1,2)) -> 0.412319+1.3456i  

       

      I would deeply appreciate it if I get answers.

      Thank you!

       

    • Guilin Sun
      Ansys Employee

      It seems you have the answer by your self. However for the benefits of other users in the forum, I will post my answer here:

      Any moitor will be 4 dimension. For frequency-domain monitors, it is xyzf, and for time-domain monitors it will be xyzt.  Some dimensions will be singleton. you can use pinch to remove them if you want. it is important when you do matrix operations.

Viewing 1 reply thread
  • The topic ‘E-field data written in the monitor’ is closed to new replies.