data_magnitude#

SolutionData.data_magnitude(expression=None, convert_to_SI=False)[source]#

Retrieve the data magnitude of 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 data.