Ashish Singh
Subscriber

so here for example

 adddipole;
set("name", "SPE"); 
set("y", 0);
set("z", gold+ sio2 + gaas+ (inas / 2)); 
set("amplitude", 1);
set("theta", 90);
set("phi", 0);
set("center wavelength", cen_w); 
set("wavelength span", w_span); 
addtogroup("::model"); 

 

cen_w is a variable at 1300nm but after running the script it comes around 1280nm. which significantly affects my model's cause of change in refractive index.  also, could you give me an example of optimization where I can use my variables from the script for optimization?