data_imag#

SolutionData.data_imag(expression=None, convert_to_SI=False)#

Retrieve the imaginary part of the data for an expression.

Parameters:
expressionstr, optional

Name of the expression. The default is None, in which case the active expression is used.

convert_to_SIbool, optional

Whether to convert the data to the SI unit system. The default is False.

Returns:
list

List of the imaginary data for the expression.