Dear AFNI expert,
I used the 3ddelay to estimate the lag time between ideal time course with resting state BOLD signals, in most case the lag time is reasonable (0-10s), but sometimes the lag time is too large (60 s) and it's not reasonable. So I would like to restrict the delay time in 10s.
Could you please provide some ways to restrict the output of 3ddelay?
The parameters of fMRI: TR = 1s, number of TR = 800.
I checked the source code of 3ddelay.c . And 3ddelay invoked the 'hilbertdelay_V2' which include the following code:
''' maxdel = lng/2; /* delays should not exceed one third of the segment length (and that's pushing it !)*/ ''''
Maybe one way is to modify the code to ''maxdel = 10 TR'' and then recompile the source code. But I don't know how to recompile the 3ddelay in Ubuntu. Could you please help me to fix these two problem?
Cheers,
jack