the default rdmfun behavior is to transpose a (voxel x condition) data matrix and then apply the pdist function to achieve a (condition x condition) RDM. however, in each monte carlo simulation, the signal and measurement variables already come in (condition x voxel) format, requiring each matrix to be transposed when passed to rdmfun() only to be re-transposed immediately afterward via rdmfun().
is there a reason for this double-transpose? if not, for clarity, we should consider removing both by modifying the line which sets the default rdmfun() and the line where rdmfun() is applied to signal and measurement.
the default rdmfun behavior is to transpose a (voxel x condition) data matrix and then apply the pdist function to achieve a (condition x condition) RDM. however, in each monte carlo simulation, the signal and measurement variables already come in (condition x voxel) format, requiring each matrix to be transposed when passed to rdmfun() only to be re-transposed immediately afterward via rdmfun().
is there a reason for this double-transpose? if not, for clarity, we should consider removing both by modifying the line which sets the default rdmfun() and the line where rdmfun() is applied to signal and measurement.