AFNI Message Board

Dear AFNI users-

We are very pleased to announce that the new AFNI Message Board framework is up! Please join us at:

https://discuss.afni.nimh.nih.gov

Existing user accounts have been migrated, so returning users can login by requesting a password reset. New users can create accounts, as well, through a standard account creation process. Please note that these setup emails might initially go to spam folders (esp. for NIH users!), so please check those locations in the beginning.

The current Message Board discussion threads have been migrated to the new framework. The current Message Board will remain visible, but read-only, for a little while.

Sincerely, AFNI HQ

History of AFNI updates  

|
February 17, 2009 06:03PM
Hi Gabe,

You can first convert the all_*.1D files to stim_times files
via the make_stim_times.py program. See example #4 from
"make_stim_times.py -help". Assuming your TR is 2.5 seconds,
and you have 7 runs with 120 TRs per run, it might read:

make_stim_times.py -prefix stimes -tr 2.5 -nruns 7 -nt 120 \
-labels auditory visual \
-files all_auditory.1D all_visual.1D

All that would do is make TR-locked timing files from those
0/1 delta files, stimes.01.auditory and stimes.02.visual.1D.

Then you can use TENT basis functions instead of the lags.
The resulting regressors should be identical to what you had
used.

To encode the TENT basis function, it is necessary to know
your TR. Other than that, the 12 lags (0-11) correspond to
12 tent functions.

Let me assume your TR is 2.5 seconds. Then the 12 lags cover
11 TR intervals (keep in mind that lags 0 and 1 would cover
only 1 interval, not 2). And 11 TR intervals spans 27.5
seconds (11*2.5). So a stim_times option might read:

-stim_times 1 stimes.01.auditory.times.1D 'TENT(0,27.5,12)'

- rick

Subject Author Posted

Using 3dDeconvolve "stim_times" without a response model with minlag and maxlag

Gabe Castillo February 17, 2009 01:16PM

Re: Using 3dDeconvolve "stim_times" without a response model with minlag and maxlag

rick reynolds February 17, 2009 06:03PM

Re: Using 3dDeconvolve "stim_times" without a response model with minlag and max

Gabe Castillo February 17, 2009 08:30PM

Re: Using 3dDeconvolve "stim_times" without a response model with minlag and max

Gabe Castillo February 19, 2009 09:03PM

Re: Using 3dDeconvolve "stim_times" without a response model with minlag and max

rick reynolds February 19, 2009 10:27PM

Re: Using 3dDeconvolve "stim_times" without a response model with minlag and max

Gabe Castillo February 20, 2009 02:34PM