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