Workbench Command is a set of command-line tools that can be used to perform simple and complex operations within Connectome Workbench.
AVERAGE SURFACE FILES TOGETHER
wb_command -surface-average
<surface-out> - output - the output averaged surface
[-stddev] - compute 3D sample standard deviation
<stddev-metric-out> - output - the output metric for 3D sample
standard deviation
[-uncertainty] - compute caret5 'uncertainty'
<uncert-metric-out> - output - the output metric for uncertainty
[-surf] - repeatable - specify a surface to include in the average
<surface> - a surface file to average
[-weight] - specify a weighted average
<weight> - the weight to use (default 1)
The 3D sample standard deviation is computed as
'sqrt(sum(squaredlength(xyz - mean(xyz)))/(n - 1))'.
Uncertainty is a legacy measure used in caret5, and is computed as
'sum(length(xyz - mean(xyz)))/n'.
When weights are used, the 3D sample standard deviation treats them as
reliability weights.