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 11, 2003 11:31AM
Hi Liz,

Let me backstep and make an additional point about the waver output being
greater than 1.

In theory, if one were to sample continuously, then even 2 stimuli, no matter
how far apart in time, would convolve with the scaled gamma variate function
to produce a maximum greater than 1.

But sampling every 2 seconds, it is common not to see where the convolution
results in a values greater than one, unless 2 stimuli are less than about 6
seconds apart. Try these waver commands:

waver -GAM -dt 1.0 -peak 1 -numout 15 -inline 1 0 0 0 0 0 1
waver -GAM -dt 2.0 -peak 1 -numout 15 -inline 1 0 0 1

These are 2 scaled GAM functions convolved with "on" points 6 seconds apart,
one sampled every second, the other every 2 seconds. In either case you see
the two peaks, but neither is greater than 1. Now put them 5 seconds apart:

waver -GAM -dt 1.0 -peak 1 -numout 15 -inline 1 0 0 0 0 1
waver -GAM -dt 2.5 -peak 1 -numout 15 -inline 1 0 1

Note that in this second pair, the dt was changed to 2.5 (since we need 5
seconds to be a multiple of our TR, say).

Here you see the two curves again, but the maximum sampled value is above
1.0 in each case (where the added curves overlap each other).

I hope that wasn't too much babble on the subject... :)

- rick

Subject Author Posted

waver -peak

Elizabeth Felix September 10, 2003 02:48PM

Re: waver -peak

rick reynolds September 10, 2003 04:34PM

Re: waver -peak

Elizabeth Felix September 10, 2003 04:56PM

Re: waver -peak

Gang Chen September 11, 2003 08:35AM

Re: waver -peak

Elizabeth Felix September 11, 2003 10:13AM

Re: waver -peak

Gang Chen September 11, 2003 10:31AM

Re: waver -peak

rick reynolds September 11, 2003 11:31AM

Re: waver -peak

Elizabeth Felix September 11, 2003 02:32PM

Re: waver -peak

Gang Chen September 11, 2003 04:33PM

Re: waver -peak

Elizabeth Felix September 11, 2003 07:24PM

Re: waver -peak

Gang Chen September 12, 2003 09:37AM

Re: waver -peak

rick reynolds September 12, 2003 10:26AM

Re: waver -peak

Elizabeth Felix September 12, 2003 10:36AM

Re: waver -peak

rick reynolds September 19, 2003 04:22PM