EXTRACTING DATA FROM SOURCE OBJECT USING SCRIPTING


#1

I am working on normal stripe waveguide , and want to find out the single mode condition. the method explained in given linkhttps://kx.lumerical.com/t/sweep-to-obtain-geometry-with-number-of-modes/975 is for mode solution , where as I am using FDTD solution. Is there a way to extract neff from the source object using scripting and doing something similar as explained in above reference.


#2

Dear @rsharma

Yes, you can.

n = getresult("source","neff");

Please take a look at this page for more info:

https://kb.lumerical.com/en/index.html?ref_sim_obj_get_source_field_profile.html

I hope this answered your question.
Thanks