Hi Rick,
thanks so much, this is super helpful, I will try tomorrow AM & report back. One follow-up question -- can you say a bit more about the form of the MION function as built in AFNI? I want to make sure I am running this optimization procedure with the exact same basis function we will use during analysis. Normally, for us MION is a gamma function = (((t-delta)/tau).^alpha) .* exp(-(t-delta)/tau), with delta = 0; tau = 8000; alpha = 0.3; dt = 1 ms. Are these also the parameters inside AFNI's "MION" ? I was not clear from the 3dDeconvolve -help output.
thanks again!
best,
G