Statistics Tab

The Statistics tab offers simple statistical operators.

Statistics Operators

Button

Syntax

Definition

Operate on line

Selected: default

Current: _cur is appended to the selected operator

All: _all is appended to the selected operator

This selection determines if the requested statistical property is calculated on the Selected lines, Current line or All lines. The properties listed below are calculated on the line(s) selected.

  • The Operate on line option is only available with the 'Channel Math' tool and is not available for the 'Grid Math' or 'Voxel Math' tools.
  • .min

    Minimum value of the data

    .max Maximum value of the data

    .mean

    Mean value of the data

    .range

    Range of the data

    .count

    Number of valid items

    .stddev

    Standard Deviation

    .stderr

    Standard Error

    .variance

    Data variance

    .countzero

    Number of items equal to 0

    .countdum

    Number of dummies

    .sum Sum of all data values

    .sum2

    Sum of all data squares

    .geomean Geometric Mean (mean of positive values)

    .minpos

    Minimum positive value

    .countpos

    Number of positive values

    .sum3

    Sum of all cubes

    .sum4

    Sum of all 4th powers

    Application Notes

    The statistical property can be calculated on the current, selected, all lines regardless of the selected lines in the database. Once calculated, it can be used in an expression applied to the selected lines. For example, if you would like to calculate the mean of the current line and subtract it from all selected lines you would form the equation below:

    C1=C0-C0_curr.mean

    Alternatively you could calculate the mean of the data of all the lines and apply it to the current selection

    C1=C0-C0_all.mean
  • The Add Variable @ operator is not supported by the new Statistics dot (.) functions.
  • The elements of an Array (e.g., C1[1]) are now supported by the new Statistics dot (.) functions.
  • Tooltips that include an argument and short descriptive name are provided for each tab item.