Hi Julien,
Ziad is out this week, just so you know. He may have something
additional to say as it's his program.
---
Most AFNI programs can handle "single time series" datasets.
Set the AFNI_1D_TIME environment variable to YES, and provide
your input in that form:
setenv AFNI_1D_TIME YES
3ddelay -input A.1D -ideal_file B.1D -fs 0.5 -T 0 -prefix del_A.1D
So dataset B.1D can be a single time series.
---
When deciding which is delayed, you might consider applying
the delay with the larger correlation term. If you input
those via -c and -d, you could use 'a*step(c-d)+b*step(d-c)',
where -a and -b are the delay values (in 1deval or 3dcalc).
- rick