Workbench Command is a set of command-line tools that can be used to perform simple and complex operations within Connectome Workbench.
AVERAGE CIFTI FILES wb_command -cifti-average <cifti-out> - output - output cifti file [-exclude-outliers] - exclude outliers by standard deviation of each element across files <sigma-below> - number of standard deviations below the mean to include <sigma-above> - number of standard deviations above the mean to include [-mem-limit] - restrict memory used for file reading efficiency <limit-GB> - memory limit in gigabytes [-cifti] - repeatable - specify an input file <cifti-in> - the input cifti file [-weight] - give a weight for this file <weight> - the weight to use Averages cifti files together. Files without -weight specified are given a weight of 1. If -exclude-outliers is specified, at each element, the data across all files is taken as a set, its unweighted mean and sample standard deviation are found, and values outside the specified number of standard deviations are excluded from the (potentially weighted) average at that element.