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  

|
June 14, 2022 11:05AM
Hi Megan,

The timing shift should be negative, -0.831, it seems. Apply this offset to the stimulus times.

See [afni.nimh.nih.gov] .

Keep in mind that 3dTshift is not really shifting the timing of the data, it is sampling the data onto a new timing grid. It is more like 3dresample in the time domain. This analogy is useful because the intention of 3dresample is not to move the volume, it is merely to sample it on another grid. The volume is supposed to be in the same place in space.

This applies to 3dTshift, too. Each time series is resampled onto a different time grid, but the intention is not to "move the signal". The input to 3dTshift has data sample all across the TR. The output is supposed to be as if the entire volume were sampled at just one time point (per TR).

Since 3dDeconvolve interprets the time series as if it were sampled at the start of each TR, but now the time series values are really sampled at the mid-TR, 3dDeconvolve is effectively shifting the data earlier, and so the timing needs a corresponding shift.

Anyway, see the the example in the linked post, that is more clear than theoretical descriptions. But still, it is predicated on the "resample" point of view.

The TR/2 as just an approximation is described there, too.

- rick
Subject Author Posted

regress_stim_times_offset after fmriPREP

MeganQ June 14, 2022 09:55AM

Re: regress_stim_times_offset after fmriPREP

Peter Molfese June 14, 2022 10:50AM

Re: regress_stim_times_offset after fmriPREP

MeganQ June 14, 2022 11:01AM

Re: regress_stim_times_offset after fmriPREP

rick reynolds June 14, 2022 11:05AM

Re: regress_stim_times_offset after fmriPREP

rick reynolds June 14, 2022 11:06AM

Re: regress_stim_times_offset after fmriPREP

MeganQ June 14, 2022 12:14PM

Re: regress_stim_times_offset after fmriPREP

MeganQ June 14, 2022 12:23PM

Re: regress_stim_times_offset after fmriPREP

rick reynolds June 14, 2022 02:11PM

Re: regress_stim_times_offset after fmriPREP

MeganQ June 14, 2022 02:14PM

Re: regress_stim_times_offset after fmriPREP

rick reynolds June 14, 2022 03:11PM

Re: regress_stim_times_offset after fmriPREP

MeganQ June 14, 2022 03:18PM

Re: regress_stim_times_offset after fmriPREP

MeganQ June 14, 2022 03:20PM

Re: regress_stim_times_offset after fmriPREP

rick reynolds June 14, 2022 04:05PM

Re: regress_stim_times_offset after fmriPREP

MeganQ June 14, 2022 04:11PM