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 10, 2003 04:34PM
Hi Elizabeth,

Sorry to be long-winded here, but this is a good question, so I'd
like to provide some details for others who might care...

The -peak option to waver resizes the basis function to the given
peak. Take the gamma variate function, for example. Instead of
applying it directly (with a max value of ~111.801 at 4.7042), it
is rescaled by 111.801 to a maximum of 1.

But this is before convolution (perhaps with a stimulus timing
function). When this is convolved with another function, there
may be multiple copies of this scaled gamma variate function
added together, particularly when stimuli happen close to each
other.

For example, try the following command:

waver -GAM -dt 0.1 -peak 1.0 -numout 60 -inline 10@1

This convolves the gamma variate (at a peak of 1.0) with 10
1's, and then all 0's. Since dt = 0.1 seconds, this represents
10 "on" conditions happening in the total time of 1 second,
putting 10 gamma variates practically on top of each other.

In the output, you can see this maxing out at around 9.84 after
about 5.4 seconds. So the maximum is basically 10 times the
-peak value, since we put 10 copies of the function on top of
each other.

-----------------------

As far as I know, there is no option to waver that will produce
an output file with an input maximum value.

- 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