We have an exciting announcement about badges coming in May 2025. Until then, we will temporarily stop issuing new badges for course completions and certifications. However, all completions will be recorded and fulfilled after May 2025.

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.