Hi Peter,
Yes, remove the first 5 TRs from each file, then concatenate
them.
To delete the first 5 rows from a bunch of motion files, use
1dcat or 1d_tool.py or head or tail. Maybe the former 2 would
be easier, since they do not require knowing the total number
of TRs.
Consider:
foreach mot_file ( motion*.1D )
1dcat $mot_file'{5..$}' > short.$mot_file
end
cat short.motion*.1D > short.motion.all.1D
- rick