The Results Manager is a tool for analyzing simulation data. The Results View window shows all the results for the simulation object that is currently selected in the Object Tree. The Script Workspace and Script Favorites windows work in conjunction with the scripting environment to provide additional GUI-based functionality.
When used in conjunction with the Visualizer, the Results Manager provides a very useful and intuitive way of analyzing and visualizing variables and results through the GUI, greatly reducing the need for scripting. The Result View window shows all the results for the simulation object that is currently selected in the Object Tree.
Any simulation object that have results will be displayed with a symbol on the bottom-right corner (similar to havedata and haveresult command). The name of the available results, and the corresponding dimensions or are displayed in the Dimensions/Value column. 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.
With the use of datasets, allowing one to package raw data into meaningful results that can be easily parametrized and visualized. The results for all the standard monitors can be retrieved in the original raw, un-parametrized 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:
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 Accessing simulation data. Analysis group objects from the Object library have been updated to return datasets. For an example of how to define dataset results in an analysis group, please see Analysis groups.
The raw data results are all un-parametrized, simple matrix results. To create parametrized matrix datasets from matrices, use the "Send to script" option to copy the variable into the Script Workspace.
Script Workspace and Script Favorites
The Script Workspace shows all the variables in the current scripting environment. The variables' current values as well as the corresponding dimensions are shown in a list format. Users can use the Visualizer to visualize any variable listed in the Script Workspace by right-clicking on the variable and selecting "Visualize".
The icons in the script workspace above shows that while "sigmaabs" and "sigmascat" are parametrized matrix datasets (since they were the results returned directly by the cross section analysis groups), "sigmaext" is a result that we defined in the script, and is therefore a simple un-parametrized matrix. For example, simply right-clicking on sigmaext and selecting "Visualize" will generate the following plot in the Visualizer:
Here, the extinction cross section is plotted as a function of the index value.
The Script Favorites window also allows users to define their own favorite commands by selecting "New command" and "Edit".