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  

|
August 19, 2021 09:01AM
Hi Prerona,

That would be the case if every stimulus onset (and duration) were a multiple of the TR. It is usually not the case.

This would be true if TR=2s, for example, and all of the onsets in the stimulus timing file that is provided to afni_proc.py/3dDeconvolve are multiples of 2.
It can be verified on the command line using timing_tool.py using -show_tr_stats, e.g.

cd AFNI_data6/FT_analysis/FT
timing_tool.py -multi_timing AV*.txt -tr 2.0 -show_tr_stats

or

cd AFNI_demos/AFNI_pamenc/AFNI_02_pamenc/sub-10506/timing
timing_tool.py -multi_timing times*.txt -tr 2.0 -show_tr_stats

Each of those examples just happens to have TR=2s, but that does not need to be the case.

Also, this just verifies the onsets. But for PPI, one would want each stimulus duration to be a multiple of the TR as well.
If either of those is not the case, it is probably better to oversample the timing.

- rick
Subject Author Posted

Using sub_TR for gPPI script

brainboi August 16, 2021 09:06PM

Re: Using sub_TR for gPPI script

rick reynolds August 17, 2021 08:43PM

Re: Using sub_TR for gPPI script

prerona August 18, 2021 06:30PM

Re: Using sub_TR for gPPI script

rick reynolds August 19, 2021 09:01AM

Re: Using sub_TR for gPPI script

prerona August 20, 2021 07:17PM

Re: Using sub_TR for gPPI script

brainboi August 27, 2021 04:58PM