I have a question regarding the functioning of 3dTproject.
We processed some resting state fMRI time series and wanted the time series of all participants to be of equal length while still taking care of outlier volumes. To achieve this we used 3dTproject after afni_proc.py to interpolate censored values using the -cenmode NTRP option.
I must admit I did not come up with this idea originally but it has been frequently used in our research institute.
Here is a code snippet so you can see what’s going on:
Now in review of the paper we applied this approach in the question was raised what happened if the neighboring volumes of the interpolated volumes were outliers as well, since those neighboring volumes are used to interpolate the censored value.
Would someone happen to know how many neighboring volumes are used to interpolate the censored volume and what would happen in the case outlined above (i.e., if two or more consequent volumes in a time series are outliers)?
Would someone happen to know how many neighboring volumes are used to interpolate the censored volume and what would happen in the case outlined above (i.e., if two or more consequent volumes in a time series are outliers)?
The two closest neighboring volumes (in time) are use – one before and one after, and the interpolation used is linear. For example, if time indexes 1 and 5 are kept, and time indexes 2,3,4 are censored, then
If s(5) is still an outlier (that is, wasn’t censored but “should have been”), then the interpolated values will be outlier-ish themselves. However, you have to judge the likelihood of this happening enough to contaminate your results significantly. No signal processing method (even “machine learning”) can perfectly suppress noise and outliers.
(As an aside, when I did resting state analysis [in my pre-retirement life], I usually used a fairly strict motion threshold for part of the censoring decision.)
The NTRP option was put there at the request of a particular Spanish researcher. Personally, I don’t like it, as it gives the impression that you have a full set of “real” data, whereas some of your data times series is now fictional – that is, you don’t actually have the number of degrees of freedom that it seems like from the time series length. However, if you are going to do inter-subject time series correlations, then you have to do something to make that possible.
thanks for returning from your well-deserved retirement to answer this question and providing insight into the -cenmode NTRP interpolation option! I have always wondered what the reference to the Spanish Inquisition in the -help file of 3dTproject meant… now I not only understand the method better but I know one more bit of AFNI trivia.
I agree that it’s not ideal to have the impression that you’re dealing with a data set of 100% real data but as you mentioned, for some inter-subject analyses it’s a necessity to have equal lenght of time series. But we will keep this limitation in mind for our analyses and transparently communicate the choice and method of interpolation in our manuscript.
Jonas
The
National Institute of Mental Health (NIMH) is part of the National Institutes of
Health (NIH), a component of the U.S. Department of Health and Human
Services.