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  

|
December 05, 2005 12:13PM
Ye,

In terms of scripting with 3dDeconvolve it is more important to decide how you want to model the hemodynamic response instead of differentiating stimulus types (sustained vs. transient). There are two issues here which might be interdependent with each other: One is coding for all the stimuli, and the other is modeling hrf.

If all stimuli are synchronized with TR and the durations of all stimuli are multiples of TR, you can code the stimuli in files of 0's and 1's with a length of total number of TR's for 3dDeconvolve option -stim_file. Blocked conditions are usually modeled with some standard response function such as gamma variate with 'waver'. For transient events you have to decide the type of basis response functions (gamma variate, gamma variate + time derivative, stick, etc.).

Alternatively you can code your stimuli with their onset times in each file for 3dDeconvolve option -stim_times. You can do this for all kinds of stimuli including blocked and transient events and regardless they are synchronized with TR. Duration of all conditions and basis function type can be specified with this option as well. More details about this option can be found in the following site:

http://afni.nimh.nih.gov/afni/doc/misc/3dDeconvolveSummer2004/

Gang
Subject Author Posted

Using AFNI to Analyze Mixed-Block/Event-Related Design

Melissa Thomas October 12, 2005 04:15PM

Re: Using AFNI to Analyze Mixed-Block/Event-Related Design

Gang Chen October 12, 2005 05:02PM

Re: Using AFNI to Analyze Mixed-Block/Event-Related Design

ye December 02, 2005 03:18PM

Re: Using AFNI to Analyze Mixed-Block/Event-Related Design

Gang Chen December 02, 2005 05:09PM

Re: Using AFNI to Analyze Mixed-Block/Event-Related Design

ye December 05, 2005 09:12AM

Re: Using AFNI to Analyze Mixed-Block/Event-Related Design

Gang Chen December 05, 2005 12:13PM

Re: Using AFNI to Analyze Mixed-Block/Event-Related Design

ye December 05, 2005 03:13PM

Re: Using AFNI to Analyze Mixed-Block/Event-Related Design

Gang Chen December 05, 2005 04:19PM

Re: Using AFNI to Analyze Mixed-Block/Event-Related Design

ye December 06, 2005 03:01PM

Re: Using AFNI to Analyze Mixed-Block/Event-Related Design

Gang Chen December 06, 2005 05:25PM

Re: Using AFNI to Analyze Mixed-Block/Event-Related Design

ye December 06, 2005 06:00PM

Re: Using AFNI to Analyze Mixed-Block/Event-Related Design

Gang Chen December 07, 2005 10:54AM