Please enable JavaScript to view this site.

Knowledge Base

Checks whether a parameter parameter sweep/optimization/Monte Carlo/S-parameter sweep has results. Similar to haveresult.

 

Supported Product: FDTD, MODE, DEVICE, INTERCONNECT

 

Syntax

Description

?havesweepresult;

Returns 1 if any sweeps or optimizations, Monte Carlo analysis, or S-parameter sweeps have results. Returns 0 if data is not available.

?havesweepresult("name");

Returns 1 if the specified sweep, optimization, Monte Carlo, or S-parameter sweep has results.

?havesweepresult("name","data");

Returns 1 if the sweep, optimization, Monte Carlo, or S-parameter sweep named "name" has the specified result "data".

 

Examples

The following example shows the output of getsweepresult and havesweepdata. Please download the example file from the Parameter sweeps page Associate files.

?getsweepresult;

?havesweepresult("thickness_optimization","fom trend");

 

> thickness_sweep

> thickness_optimization

 

> result: 

1   

 

See Also

Measurements, runsweep, getsweepresult, getresult, haveresult

Copyright Lumerical Inc. | Privacy | Site Map