ICalculationToolScalar#
- class ansys.stk.core.analysis_workbench.ICalculationToolScalar#
Any scalar calculation that is not constant by construction.
Overview#
Evaluate the scalar calculation at the specified time instant. |
|
Evaluate the scalar calculation at the specified time instant and returns the results as an array with two elements, the first element being of boolean type indicating whether the computation succeeded, followed by a double-precision value representing… |
|
Evaluate the scalar calculation at the specified time instant. The result is a scalar value and its rate of change. |
|
Evaluate the scalar calculation at the specified time instant and returns the results as an array with three elements, the first element being of boolean type indicating whether the computation succeeded, followed by two double-precision values one rep… |
|
Return a list of availability intervals. |
|
Evaluate the scalar calculation, and rate, over an array of times, entered as strings in the Scenario date unit. It returns an array corresponding to the input times… |
|
Evaluate the scalar calculation over the array of times provided by an Event Array component. It returns an array corresponding to the input times… |
|
Evaluate the scalar calculation, and rate, over the array of times provided by an Event Array component. It returns an array corresponding to the input times… |
|
Evaluate the scalar calculation, and rate, over the array of times provided by an Event Array component. It returns an array corresponding to the input times… |
Return the scalar calculation type. |
|
Return calc scalar’s unit of measure, i.e. ‘AngleUnit’, ‘DistanceUnit’, etc. |
Import detail#
from ansys.stk.core.analysis_workbench import ICalculationToolScalar
Property detail#
- property ICalculationToolScalar.type: CalculationScalarType#
Return the scalar calculation type.
Method detail#
- ICalculationToolScalar.evaluate(self, epoch: Any) CalculationToolEvaluateResult #
Evaluate the scalar calculation at the specified time instant.
- Parameters:
epoch :
Any
- Returns:
CalculationToolEvaluateResult
- ICalculationToolScalar.quick_evaluate(self, epoch: Any) list #
Evaluate the scalar calculation at the specified time instant and returns the results as an array with two elements, the first element being of boolean type indicating whether the computation succeeded, followed by a double-precision value representing…
- ICalculationToolScalar.evaluate_with_rate(self, epoch: Any) CalculationToolEvaluateWithRateResult #
Evaluate the scalar calculation at the specified time instant. The result is a scalar value and its rate of change.
- Parameters:
epoch :
Any
- Returns:
CalculationToolEvaluateWithRateResult
- ICalculationToolScalar.quick_evaluate_with_rate(self, epoch: Any) list #
Evaluate the scalar calculation at the specified time instant and returns the results as an array with three elements, the first element being of boolean type indicating whether the computation succeeded, followed by two double-precision values one rep…
- ICalculationToolScalar.get_availability(self) TimeToolIntervalCollection #
Return a list of availability intervals.
- Returns:
TimeToolIntervalCollection
- ICalculationToolScalar.quick_evaluate_array(self, times: list) list #
Evaluate the scalar calculation, and rate, over an array of times, entered as strings in the Scenario date unit. It returns an array corresponding to the input times…
- ICalculationToolScalar.quick_evaluate_with_rate_array(self, times: list) list #
Evaluate the scalar calculation over the array of times provided by an Event Array component. It returns an array corresponding to the input times…
- ICalculationToolScalar.quick_evaluate_time_array(self, ref_array: ITimeToolTimeArray) list #
Evaluate the scalar calculation, and rate, over the array of times provided by an Event Array component. It returns an array corresponding to the input times…
- Parameters:
ref_array :
ITimeToolTimeArray
- Returns:
- ICalculationToolScalar.quick_evaluate_with_rate_event_array(self, ref_array: ITimeToolTimeArray) list #
Evaluate the scalar calculation, and rate, over the array of times provided by an Event Array component. It returns an array corresponding to the input times…
- Parameters:
ref_array :
ITimeToolTimeArray
- Returns: