statistics

statistics

The statistics module analyzes the statistical distribution of a single data component from an input field. The data field can contain any number of components, but statistical analyses can only be performed on scalar data; an error occurs if a statistical analysis is attempted on vector data. Output appears in the EVS Information Window and includes the calculated min and max values, mean, standard deviation, and the distribution of the data set, along with the coordinate extents of the model.

The first port (the leftmost one) should contain a mesh with nodal or cell data. If no data is present, statistics will only report the extents and centroid of the mesh. Data sent to the statistics module reflects any data transformation or manipulation performed in upstream modules.

Ports

DirectionNameTypeDescription
InputInput FieldFieldThe field to use for statistic calculations.
OutputNumeric Output 1NumberA numeric value computed from the expression.
OutputNumeric Output 2NumberA numeric value computed from the expression.
OutputString OutputStringA string value computed from the expression.

Properties

PropertyTypeDescription
Allow RunBooleanWhen the Allow Run toggle is set to on the module will run every time a setting is changed.
ExecuteButtonThis button will force the module to run even if the Allow Run toggle has been turned off. This allows the user to make a number of changes before updating.

Statistic Settings

PropertyTypeDescription
Statistics OnChoice: Node Data, Cell DataChoose whether to compute statistics on node data or cell data.
Data ComponentChoiceThe node data component on which the statistical analysis is to be performed. Options are populated from the input field. Enabled when Statistics On is set to Node Data.
Cell Data ComponentChoiceThe cell data component on which the statistical analysis is to be performed. Options are populated from the input field. Enabled when Statistics On is set to Cell Data.
Minimum Data LevelDoubleThe Minimum Data Level is used to set the lower limit on the data bins for statistical analysis. The default value is the minimum in the data component. If the statistical distribution should focus on only a portion of the data, this value can be changed to reflect only that desired range of data.
Maximum Data LevelDoubleThe Maximum Data Level is used to set the upper limit on the data bins for statistical analysis. The default value is the maximum in the data component. If the statistical distribution should focus on only a portion of the data, this value can be changed to reflect only that desired range of data.
Number Of BinsIntegerThe Number of Bins is used to set the number of distribution bins to be used in the analysis. The default is 10 and the range is from 2 to 255. This value is generally changed to get unary or aesthetically pleasing bin values. For example, if the data min is -3.0 and the data max is 2.0, setting the Number of Bins to 6 will result in unary bin values (e.g. -3, -2, -1, etc.).
Summary StatisticsStatisticsA compound control that opens the full statistics view (histogram, percentiles, summary table) and exposes the computed values to the read-only fields below.
Data MinDoubleThe minimum value in the selected data component. Read-only display field.
Data MaxDoubleThe maximum value in the selected data component. Read-only display field.
ProcessingStringThe data processing mode (Linear or Log). Read-only display field.
MeanDoubleThe mean of the selected data component. Read-only display field.
MedianDoubleThe median of the selected data component. Read-only display field.
Std DevDoubleThe standard deviation of the selected data component. Read-only display field.

Output Port Settings

PropertyTypeDescription
Numeric Expression 1StringPython expression for the first numeric output port. Use variable names like Mean, Median, DataMin, DataMax, StdDev, Variance, FirstQuartile, ThirdQuartile, IQR, NumberOfPoints, NumberOfCells to reference statistics values.
Numeric Expression 2StringPython expression for the second numeric output port.
String ExpressionStringPython f-string expression for the string output port. Use {VariableName} placeholders such as {Processing}, {Units}, {Report} to reference statistics values.