We’re putting the final touches on our new badges platform. Badge issuance remains temporarily paused, but all completions are being recorded and will be fulfilled once the platform is live. Thank you for your patience.

Ansys Learning Forum Forums Discuss Simulation Photonics Inverse Design using EME solver Reply To: Inverse Design using EME solver

fa146088
Subscriber
Thank you very much for your response.
 
When I tried to write this command 's=getresult("user s matrix");' in a Python script in Lumerical, I faced the error '"name getresult is not defined." Additionally, I wanted to import my material file in a Python script using 'importmaterialdb("file name.mdf")', but I received the error that it's not a valid command in Python.
 
Also, I have another question. Should I use an 'if'  or a 'for' loop for optimizing my structure using inverse design by the EME module?
 
I would appreciate if you could help me with these issues.