Reduce property pro

../../../_images/reduce_property_panel.png

Added in version 3.14.0.

This modifier reduces a selected data property to a single value by applying a specified reduction operation over all data elements. For example, the modifier allows computing the mean value of a property across all particles.

The following reduction operations are available:

Reduction operation

Description

Minimum

Lowest value

Maximum

Highest value

Sum

Sum of all values

Non-zero count

Number of elements with non-zero values

Mean

Arithmetic mean

Median

Median value

Variance

Sample variance

Standard deviation

Sample standard deviation

Argmin

Zero-based index of the lowest value

Argmax

Zero-based index of the highest value

The modifier can operate on the following kinds of data elements:

If the selected input property has multiple components, the reduction operation is applied to each vector component individually.

The option Use only selected elements restricts the computation to the currently selected subset of elements. Note that the Argmin and Argmax operations still return an index into the full list of elements in this case.

The modifier stores the computed value as a global attribute, which can be accessed in the data inspector panel of OVITO.

The reduction is computed only for the current trajectory frame. To compute an average over multiple frames, you can additionally use the Time averaging modifier.