magnitude#

ScalarComplex.magnitude() ScalarReal#

Complex magnitude |s| (calculator CmplxMag).

Returns:
ScalarReal

Real scalar expression containing the complex magnitude.

Examples

Compute the magnitude of a complex scalar field.

>>> from ansys.aedt.core.visualization.post.field_calculator_expressions import FieldExpressions
>>> fx = FieldExpressions(calculator=None)
>>> fx.scalar("V").magnitude().operations[-1]
"Operation('CmplxMag')"