cmplxarg#

ens_calculator.cmplxarg(source_parts: List[ENS_PART] | List[int] | List[str] | ENS_PART | int | str, scalar_or_vector: ENS_VAR | str | int, output_varname: str | None = None) ENS_VAR#

Computes a scalar in range -180 to 180 degrees defined as the argument of a complex scalar or vector: Arg = atan(Vi/Vr).

Args:
source_parts:

Any part(s) or a part number.

scalar_or_vector:

A complex scalar or vector variable.

output_varname:

The name of the newly created variable

Returns:

New ENS_VAR instance or None

Note:

See CmplxArg() for function details.