SimObjectResults#

class ansys.lumerical.core.SimObjectResults(parent)#

Contains results of a simulation object.

This object is returned by the results attribute of a ansys.lumerical.core.SimObject instance.

Warning

Don’t initialize this class directly. Other functions and methods return this class.

Parameters:
Don’t initialize this class directly.
Attributes:
The object has attributes that match each of the results of the simulation object in Lumerical products. The attribute names are the same as the result names, except that spaces are replaced with underscore characters. You can also access these attributes like a Python dict using the subscripting operator []. When accessed this way, attributes retain their original name including spaces.
Each time you read the attribute, this method retrieves result data. Therefore, for results with a large amount of data, avoid repeatedly accessing the attribute. Instead, store the result in a local variable.
This method does not support writing to results, and doing so has no effect on the simulation object in the Lumerical environment.