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
| 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 the Allow Run toggle is set to on the module will run every time a setting is changed. |
| Execute | Button | This 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
| Property | Type | Description |
|---|---|---|
| Statistics On | Choice: Node Data, Cell Data | Choose 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 | The 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 Level | Double | The 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 Bins | Integer | The 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 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 | String | 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 | String | Python expression for the second numeric output port. |
| String Expression | String | Python f-string expression for the string output port. Use {VariableName} placeholders such as {Processing}, {Units}, {Report} to reference statistics values. |