Reads a given number of elements with optionally specified type from a data source and
calculates the mean of each.
Output is a single voxel with the same number of components as the input voxels.
EXAMPLES
calculate the mean of a set of measurements test.bdouble with 62 elements in each voxel