Exports the EME analysis wavelength sweep result to a file that can load to INTERCONNECT.
|exportemesweep("filename", "format");||Exports the EME analysis wavelength sweep result to a file that can load to INTERCONNECT with the name "filename". The "format" can be either "lumerical" or "touchstone" formats, and if not specified the "lumerical" format will be used. The "touchstone" format will be format v1.1.|
Note that Touchstone format v1.1 doesn't handle different modes, so the number of "ports" is really the number of effective ports (port/mode combinations).
This code will export the EME wavelength sweep result to the file "s_param".