Skip to documentation content
On this page
  1. Reference contract
  2. Contract
  3. Signature
  4. Authoritative source

reduce

Reduce a scalar field expression to a global value. Supported operators are ``average``, ``integral``, ``sum``, ``min`` and ``max``. Integrals and averages are mesh-aware for tetrahedral cells. Pass ``cells`` to restrict the reduction to selected cell indices.

Reference contract

FieldValueDescription
symboltelion_api.Dataset.reduce
signature(expression: 'str', operator: 'str' = 'average', location: 'str | None' = None, cells: 'Iterable[int] | None' = None) -> 'float'
returnfloat

Reduce a scalar field expression to a global value. Supported operators are average, integral, sum, min and max. Integrals and averages are mesh-aware for tetrahedral cells. Pass cells to restrict the reduction to selected cell indices.

Contract

PropertyValue
symboltelion_api.Dataset.reduce
signature(expression: 'str', operator: 'str' = 'average', location: 'str | None' = None, cells: 'Iterable[int] | None' = None) -> 'float'
returnfloat

Signature

telion_api.Dataset.reduce(expression: 'str', operator: 'str' = 'average', location: 'str | None' = None, cells: 'Iterable[int] | None' = None) -> 'float'

Authoritative source

Catalog
python:telion_api.__all__
Identity
telion_api.Dataset.reduce
Path
sdk/python/telion_api/model.py
Symbol
telion_api.Dataset.reduce