Ansys Learning Forum › Forums › Discuss Simulation › Photonics › getelectric problem › Reply To: getelectric problem
January 9, 2024 at 2:17 pm
Frederic Wu
Subscriber
Â
I understand but this does not really answer my question. As shown by the screenshot above, line 6 has a problem. The lumerical application says that the data getelectric() returns is not an array. So I do not really know how to fix my code. According to you, the data returned should be a 3D array because I used a 3D monitor. However, this does not seem to be the case.
Â