Since the rotations in 3dvolreg are in degrees, those values
should be converted before taking the euclidean norm. One
option would be to multiply by 180/pi = 57.3, say. Assuming
the first three are shift and the next are rotations, they could
be applied via the 'weighted_enorm' function, rather than just
enorm, e.g.
-derivative -collapse_cols weighted_enorm \
-weight_vec 1 1 1 57.3 57.3 57.3 \
...
See
1d_tool.py -help, Example 9c, though it does not actually censor.
Note that 1mm is a fairly high threshold for censoring.
Are these subjects prone to motion?
- rick