Hi, Thank you for your response, i understand that. I am running the software in windows and using spyder notebook to code in python. When i use mode.addeme() command , it is not allowing me to run. So I want to know if mode.addeme() is the right command to call EME solver using python, using the setup:
import numpy as np
import matplotlib.pyplot as plt
import os
import imp
lumapi = imp.load_source("lumapi","C:\\Program Files\\Lumerical\\v231\\api\\python\\lumapi.py")
os.add_dll_directory("C:\\Program Files\\Lumerical\\v231\\api\\python")
mode = lumapi.MODE()
mode.addeme()
{
PARAMETERS
}
mode.addemeport();
{PARAMETERS
}
mode.addemeprofile();
{
parameters
}
mode.runeme()
mode.emepropagate();
I have searched for some examples with EME solver , but i could only find one with FDE,varFDTD, FDTD.