elemetric#
- ens_calculator.elemetric(source_parts: List[ENS_PART] | List[int] | List[str] | ENS_PART | int | str, metric_function: int = 0, output_varname: str | None = None) ENS_VAR #
Computes a per-element scalar variable on any parts, whose value is one of a collection of element quality metric functions.
- Args:
- source_parts:
Any part(s) or a part number.
- metric_function:
A Verdict library element quality metric to compute.
- output_varname:
The name of the newly created variable
- Returns:
New ENS_VAR instance or None
- Note:
See EleMetric() for function details.