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  

|
September 07, 2016 11:57AM
Hi All,

Using 3dDeconvolve and stim_times_IM, I'd like to set my SPMG or GAM function to be duration-modulated, but for the durations to vary across trials. I know there are options for setting your SPMG and GAM to be duration-modulated, but it seems we can only set the duration to a constant across trails (e.g. 20 seconds in the example below from 3dDeconvolve docs:

The SPMGx functions now can take an optional
(duration) argument, specifying that the primal
SPM basis functions should be convolved with
a square wave 'duration' seconds long and then
be normalized to have peak absolute value = 1;
e.g., 'SPMG3(20)' for a 20 second duration with
three basis function. [28 Apr 2009])

Is there a way to do this for SPMG or GAM? One option that is close is the combination of stim_times_IM and dmBLOCK, like so:

"*N.B.: You can also use dmBLOCK with -stim_times_IM, in which case
each time in the 'tname' file should have just ONE extra
parameter -- the duration -- married to it, as in '30:15',
meaning a block of duration 15 seconds starting at t=30 s."

But it's still not quite what I'd like.

Much thanks for any help in advance!
Anthony
Subject Author Posted

3dDeconvolve Varying Duration Modulations Across Trials with SPMG or GAM

anthonyromyn September 07, 2016 11:57AM

Re: 3dDeconvolve Varying Duration Modulations Across Trials with SPMG or GAM

gang September 08, 2016 12:28PM

Re: 3dDeconvolve Varying Duration Modulations Across Trials with SPMG or GAM

rick reynolds September 08, 2016 10:55PM

Re: 3dDeconvolve Varying Duration Modulations Across Trials with SPMG or GAM

anthonyromyn September 26, 2016 10:53AM

Re: 3dDeconvolve Varying Duration Modulations Across Trials with SPMG or GAM

anthonyromyn September 26, 2016 02:52PM

Re: 3dDeconvolve Varying Duration Modulations Across Trials with SPMG or GAM

rick reynolds September 26, 2016 03:04PM