evaluate#
- FieldsCalculator.evaluate(expression, setup=None, intrinsics=None)#
Evaluate an expression and return the value.
- Parameters:
- expression
str
Expression name. The expression must exist already in the named expressions list in AEDT Fields Calculator.
- setup
str
Solution name. If not provided the nominal adaptive solution is taken.
- intrinsics
dict
Intrinsics variables provided as a dictionary. Key is the variable name and value is the variable value. These are typically: frequency, time and phase. If it is a dictionary, keys depend on the solution type and can be expressed as: -
"Freq"
. -"Time"
. -"Phase"
. The default isNone
in which case the intrinsics value is automatically computed based on the setup.
- expression
- Returns:
float
Value computed.