The Result View window shows all the results for the simulation element that is currently selected in the Element Tree.
Result View window in INTERCONNECT can be populated by clicking on the analyzers in the Schematic Editor or Element Tree in analysis mode. The name of the available results, and the corresponding dimensions are displayed in the window. One can right click on any of the results to display them in the Visualizer, or to send the to the Script Workspace for further post-processing.
Results can also be read out/get through script commands like get and getresult. Users need to provide the full hierarchy to the get commands to get the results. The Results View hierarchy depends on the analyzer element. For an ONA, the top level of the hierarchy is the inputs, second level is the modes, and third level is the peak analysis. For example, to get the "transmission" dataset in the above Result View window, the following command can be used:
T = getresult("Optical Network Analyzer_1", "input 1/mode 1/transmission");
lambda = T.wavelength; # if plot kind = wavelength
f = T. getparameter("frequency"); # if plot kind = frequency
With the use of datasets, allowing one to package raw data into meaningful results that can be easily parameterized and visualized. The results for all the standard monitors can be retrieved in the original raw, un-parameterized matrix form (using getdata), or in dataset form (using getresult). For example, in the Result View figure above, the results listed under “rawdata” can be obtained using the “getdata” command. The results listed under "results" are datasets, and can be obtained using the “getresult” command (these calculations will only be carried out when they are visualized). The icons associated with each result reflect the type of result:
Matrix: this is a simple matrix result, with no associated parameters
Matrix dataset: this is a parameterized matrix results that contains at least an attribute (result), and a associated parameter
Rectilinear dataset: this is a parameterized matrix result that is associated with a rectilinear grid
Unstructured data: this is a set of data that is not structured in form of a dataset or a matrix and rather consists of several different types of results
For more detail on how to work with datasets in the scripting environment, please see INTERCONNECT Measurements.
The raw data results are all un-parameterized, simple matrix results. To create parameterized matrix datasets from matrices, use the "Send to script" option to copy the variable into the Script Workspace.