Hi Liz,
We did a study a while ago and published here:
Bellgowan P.S.F., Z.S. Saad, and P.A. Bandettini (2003). “Understanding Neural System Dynamics Through Task Modulation and Measurement of Functional MRI Amplitude, Latency, and Width.” PNAS: 100 (3) 1415-1419
The optimization was carried out in matlab but you can use 3dNLfim for something similar.
You will need to create your own model for 3dNLfim in C , and compile it as a .so (shared object). This is not as hard as it sounds, examples and instructions for doing this can be found towards the end of this document:
[
afni.nimh.nih.gov]
cheers,
z