Using -stim_file means Dirac basis functions "1" times in the input file (which must have the same TR as the input dataset). Only -stim_times offers a choice of basis functions; however, -stim_times requires a list of times rather that a list of 0s and 1s: -stim_times input is NOT locked to the TR of the input dataset.
If you wish to use -stim_times, Rick Reynolds wrote a Python script to convert a 0-1 file for -stim_file into a list of times for -stim_times. Documentation for this script can be found at
[
afni.nimh.nih.gov]
[
afni.nimh.nih.gov]
The list of basis functions and other information about using -stim_times can be found in the various documents under
[
afni.nimh.nih.gov]
[
afni.nimh.nih.gov]