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 input field 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 on, the module runs every time a setting is changed.
ExecuteButtonForces the module to run even if Allow Run has been turned off. This allows the user to make a number of changes before updating.

Statistic Settings

PropertyTypeDescription
Statistics OnChoice: Node Data, Cell DataChooses 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 LevelDoubleSets 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 LevelDoubleSets 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 BinsIntegerSets 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 1ExpressionPython 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 2ExpressionPython expression for the second numeric output port. The same variables as Numeric Expression 1 are available.
String ExpressionExpressionPython f-string expression for the string output port. Use {VariableName} placeholders such as {Processing}, {Units}, {Report} to reference statistics values.