Ansys Learning Forum Forums Discuss Simulation Photonics getelectric problem Reply To: getelectric problem

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.

Â