Thanks Rick - Here's another question regarding the use of to3d to build functional datasets, followed by 3dTshift to shift and de-trend the data. I created func files using:
to3d -epan –prefix S1-voice-epan -save_outliers S1-voice-out.1D -time:tz 214 26 3500 @offsets.1D S1-voice.\*
and offsets.1D looks like this:
2700 2592 2484 2376 2268 2160 2052 1944 1836 1728 1620 1512 1404 1296 1188 1080 972 864 756 648 540 432 324 216 108 0
To actually time-shift the data, I'm assuming that one needs to include the '-tpattern' option in 3dTshift. Is that correct? Here's the command line for 3dTshift:
3dTshift -prefix S1-voice-shift -tpattern @offsets.1D -ignore 10 -rlt+ S1-voice-epan+orig
but 3dTshift does not run, unless I change the dimension in offsets.1D to seconds (2.7 2.592 2.484 2.376 etc.). Does one program work in ms and the other in sec?
I am also assuming that once this shift function is implemented, I do not need to time-shift the data in any subsequent preprocessing steps (e.g. I do not need to use the '-tshift' option in 3dvolreg). Is this correct?
Thanks again for your help,
Tom