I would like to analyze event related fMRI data, where the duration of each event differs. I have tried to read the help texts of afni_proc.py and 3dDeconvolve. My current solution looks like this, is it OK?
Part of call to afni_proc.py
-regress_stim_types IM
-regress_stim_times events.txt
-regress_stim_labels events
-regress_basis 'dmBLOCK'
-regress_opts_3dD
-stim_times_IM
-gltsym 'SYM: events' -glt_label 1 activity
events.txt would look something like
20:3 30:4 40:2 47:3
meaning 3 seconds of activation after 20 seconds, 4 seconds of activation after 30 seconds, 2 seconds of activation after 40 seconds, 3 seconds of activation after 47 seconds, I don't want any amplitude modulation.