Hello,
I was wondering whether there is a way to multiply a preprocessed fMRI image by a set of weights for the different levels of a factor at each voxel, and then take the sum of those multiplied weights.
As a hypothetical example, say there is a brain with three voxels each representing a different weight (say, [-1, 0, +1]). I would then want to multiply this 3D brain by a 4D dataset, also containing three voxels over time (say there are three time points with three voxels each, [10, 20, 15], [5, 6, 10], [14, 42, 7]). Multiplying each voxel by the weights and taking the sum, I would get -5, -5, and 7 for each time point.
My question is, is there a command already designed for this, or would it all have to be done through 3dcalc? What I want in the end is essentially a 1d timecourse of these sums for the 4D dataset.
Thank you,
-Andrew