Workbench Command is a set of command-line tools that can be used to perform simple and complex operations within Connectome Workbench.
DO A VECTOR OPERATION ON CIFTI FILES wb_command -cifti-vector-operation <vectors-a> - first vector input file <vectors-b> - second vector input file <operation> - what vector operation to do <cifti-out> - output - the output file [-normalize-a] - normalize vectors of first input [-normalize-b] - normalize vectors of second input [-normalize-output] - normalize output vectors (not valid for dot product) [-magnitude] - output the magnitude of the result (not valid for dot product) Does a vector operation on two cifti files (that must have a multiple of 3 columns). Either of the inputs may have multiple vectors (more than 3 columns), but not both (at least one must have exactly 3 columns). The -magnitude and -normalize-output options may not be specified together, or with an operation that returns a scalar (dot product). The <operation> parameter must be one of the following: DOT CROSS ADD SUBTRACT