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  

|
July 20, 2011 03:18PM
Dear AFNI folks,

I think I've got this figured out, but if not, please let me know.

An all-zero 3d+time dataset (empty+tlrc) was created which had the same grid spacing and number of TRs (229) as a run of data. It was generated by taking a preprocessed 3d+time dataset and using 3dcalc to multiply it by zero. Because the IRF contained 24 time-points, stim_maxlag was set using (n-1)=23.

3dConvolve \
-input empty+tlrc \
-nfirst 0 \
-nlast 228 \
-polort -1 \
-num_stimts 1 \
-stim_maxlag 1 23 \
-stim_file 1 new_impulse_function.1D \
-iresp 1 IRF_file+tlrc \
-output simulated_signal

Correct, no?

Cheers!

David
Subject Author Posted

3dConvolve

David July 19, 2011 06:03PM

Re: 3dConvolve

David July 20, 2011 03:18PM