Please enable JavaScript to view this site.

Knowledge Base

Navigation: Scripting Language > Measurement and optimization data

exportsweep

We've made some changes. Use 'Ctrl-F5' to clear your browser cache.
Scroll Prev Top Next More

Exports S-parameter results from an S-parameter sweep task to a .dat file which can be loaded by the Optical N-Port S-parameter element in INTERCONNECT.

 

Supported Product: FDTD

 

Syntax

Description

exportsweep("sweep_name","filename");

Exports S-parameter results from the specified S-parameter sweep task to a .dat file with specified file name in the current working directory.

 

If the maximum passivity over the frequency range is larger than 1.03 or the maximum reciprocity error over the frequency range exceeds 0.03, a warning message will appear in the script prompt when you export the data.

 

If a file of the same name already exists, the existing file will be overwritten.

 

This function does not return any data.

 

Example

The following code can be used to export S-parameter data to a file called s_params.dat.

exportsweep("s-parameter sweep","s_params.dat");

 

See Also

addsweep, runsweep, getsweepresult, S-parameter matrix sweep

Copyright Lumerical Inc. | Privacy | Site Map