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  

|
February 07, 2022 10:58AM
Hi All,

I'm trying to perform a 'moving accumulation' (the best descriptor I can think of at the moment). I think similar to '3dcalc -accumulate' but I want to do this discretely. For example, I would like to sum every two values along time. And repeat the calculation for all 3D. In matlab, the most simple, equivalent command I could think of for a single timeseries was (timeseries of 190 points):

>> sum(reshape(timeseries,2,95))

I read through the 3dcalc documentation and could not clearly see how this could be done. Any guidance or help with this would be greatly appreciated. Thank you!

Cheers,
Edwin
Subject Author Posted

Moving Accumulatation of 3d+t values

ebaldelo February 07, 2022 10:58AM

Re: Moving Accumulatation of 3d+t values

Daniel Glen February 07, 2022 12:51PM

Re: Moving Accumulatation of 3d+t values

ebaldelo February 09, 2022 03:17PM

Re: Moving Accumulatation of 3d+t values

ebaldelo February 09, 2022 03:46PM

Re: Moving Accumulatation of 3d+t values

Daniel Glen February 09, 2022 05:39PM

Re: Moving Accumulatation of 3d+t values

ebaldelo February 09, 2022 05:48PM