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
| Direction | Name | Type | Description |
|---|---|---|---|
| Input | Input Field | Field | The field to use for statistic calculations. |
| Output | Numeric Output 1 | Number | A numeric value computed from the expression. |
| Output | Numeric Output 2 | Number | A numeric value computed from the expression. |
| Output | String Output | String | A string value computed from the expression. |
Properties
| Property | Type | Description |
|---|---|---|
| Allow Run | Boolean | When on, the module runs every time a setting is changed. |
| Execute | Button | Forces 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
| Property | Type | Description |
|---|---|---|
| Statistics On | Choice: Node Data, Cell Data | Chooses whether to compute statistics on node data or cell data. |
| Data Component | Choice | The 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 Component | Choice | The 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 Level | Double | Sets 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 Level | Double | Sets 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 Bins | Integer | Sets 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 Statistics | Statistics | A compound control that opens the full statistics view (histogram, percentiles, summary table) and exposes the computed values to the read-only fields below. |
| Data Min | Double | The minimum value in the selected data component. Read-only display field. |
| Data Max | Double | The maximum value in the selected data component. Read-only display field. |
| Processing | String | The data processing mode (Linear or Log). Read-only display field. |
| Mean | Double | The mean of the selected data component. Read-only display field. |
| Median | Double | The median of the selected data component. Read-only display field. |
| Std Dev | Double | The standard deviation of the selected data component. Read-only display field. |
Output Port Settings
| Property | Type | Description |
|---|---|---|
| Numeric Expression 1 | Expression | Python 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 2 | Expression | Python expression for the second numeric output port. The same variables as Numeric Expression 1 are available. |
| String Expression | Expression | Python f-string expression for the string output port. Use {VariableName} placeholders such as {Processing}, {Units}, {Report} to reference statistics values. |