Please enable JavaScript to view this site.

Knowledge Base

Navigation: Scripting Language > Measurement and optimization data

havesweepdata

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

Checks whether a parameter sweep/optimization/Monte Carlo analysis has data. Similar to the script command havedata.

 

Supported Product: FDTD, MODE, DEVICE, INTERCONNECT

 

Syntax

Description

?havesweepdata;

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

?havesweepdata("name");

Returns 1 if the specified sweep, optimization or Monte Carlo analysis has data.

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

Returns 1 if the specified sweep, optimization or Monte Carlo analysis named "name" has the specified data "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;

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

 

> thickness_sweep

> thickness_optimization

 

> result: 

0    

 

See Also

Measurements, runsweep, getsweepdata, getdata, havedata

Copyright Lumerical Inc. | Privacy | Site Map