phase#
- ScalarComplex.phase() ScalarReal#
Phase angle of the complex quantity (calculator
CmplxPhase).- Returns:
ScalarRealReal scalar expression containing the phase angle.
Examples
Compute the phase of a complex scalar field.
>>> from ansys.aedt.core.visualization.post.field_calculator_expressions import FieldExpressions >>> fx = FieldExpressions(calculator=None) >>> fx.scalar("V").phase().operations[-1] "Operation('CmplxPhase')"