Andreas,
I'm unsure exactly what you're looking for - hopefully some/all/none of
this will do.
i) type 'spm_load' into your matlab window and select the
realignment_params_* file.
ii) this will load the params into the workspace under the name 'ans'.
Rename this to whatever you want by, for example andreas_real_params =
ans. you now have a (number of scans in your session) x 6 sized matrix.
iii) if, for whatever reason, you only want to use some of the columns as
regressors in your experimental model, you can. just enter
andreas_real_params(:,1) to use only the first column, or
andreas_real_params(:,2:6) to use columns 2 to 6. the first three columns
are displacements in x, y and z, and the last three are rotations around
each of the three axes.
if you want to use them all, by entering just 'andreas_real_params' SPM
will accept all 6 regressors in one step.
iv) you should save your parameters so that you can load them in
when(ever) you want to repeat this analysis.
Hopefully this helps and contains the 'shortcut' - if you already knew
all this, sorry.
Best,
DMcG.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|