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  

|
January 10, 2018 06:13PM
Hi AFNI experts,

I had few questions about the [afni.nimh.nih.gov] script and generating IRF.
set dur = 15 # use a 15-second curve for BLOCK
set nt_irf = `ccalc -i "$dur/$TRup"`

set hrf_file = x.BLOCK.1D
3dDeconvolve -nodata $nt_irf 0.1 -polort -1 \
-num_stimts 1 \
-stim_times 1 1D:0 "BLOCK(0.1,1)" \
-x1D $hrf_file -x1D_stop

1. Should the 0.1 within the -nodata option and the BLOCK() function be the same as $TRup? Currently, my TRup is 0.5 and without changing those options (using 0.1 for both), it creates the same IRF when using TRup of 0.1 but with 30 time points instead of 150.
2. If so, should the change of 0.1 to $TRup apply to both the -nodata option and BLOCK() function or only the -nodata option. Using a TRup of 0.5, each option provides a slightly different IRF that looks similar to when using a TRup of 0.1 but with only 30 time points instead of 150.

3. Also, is time being controlled for twice for the physiological variable? Once when the physiological seed time series is detrended and also again during the polort option of 3dDeconvolve?

Thanks!,
Ekarin
Subject Author Posted

gPPI: IRF and detrending

Ekarin Pongpipat January 10, 2018 06:13PM

Re: gPPI: IRF and detrending

rick reynolds January 10, 2018 08:30PM

Re: gPPI: IRF and detrending

Ekarin Pongpipat January 12, 2018 06:15PM

Re: gPPI: IRF and detrending

Ekarin Pongpipat January 19, 2018 11:58AM

Re: gPPI: IRF and detrending

rick reynolds January 20, 2018 10:00AM

Re: gPPI: IRF and detrending

Ekarin Pongpipat January 22, 2018 12:49PM

Re: gPPI: IRF and detrending

rick reynolds January 24, 2018 04:30PM

Re: gPPI: IRF and detrending

Ekarin Pongpipat February 14, 2018 05:49PM