AFNI version info (afni -ver
): Precompiled binary linux_openmp_64: Apr 7 2023 (Version AFNI_23.1.00 'Publius Helvius Pertinax')
Hello!
I'm using the -stim_times_IM
flag in 3dDeconvolve to model single-trial betas. As suggested for univariate analyses, I've been using 3dDeconvolve to generate a design matrix, and then using 3dREMLfit to actually run the regression.
But I have been running into two problems when there are empty regressors (e.g., when the onset of the single trial being modelled overlaps with a time-point censored for high motion):
- The
-GOFORIT
flag in the 3dDeconvolve command doesn't carry over to the 3dREMLfit command that is generated. As a result 3dREMLfit fails because of the empty regressor. This isn't a huge deal, since I manually added that flag to the 3dREMLfit command. But I thought I'd report it anyway! - (This one is more important, I think) In my experience (and as per the documentation for both commands), when there is an empty regressor in 3dDeconvolve, there is an all-zero sub-BRIK in the output stats file that corresponds to the empty regressor. But it seems that 3dREMLfit drops these regressors altogether, such that there are a fewer sub-BRIKs in the output than there were trials.
I would end up excluding the trials with the empty regressors anyway. But dropping them in the output misaligns all the trial numbers, because certain trials are dropped, and the rest are numbered in a sequential manner (e.g., trial 2 gets dropped, and trial 3 is named 2, 4 is named 3, and so on).
I think in the past, when this happened with the-stim_times
option, there was an all-zero sub-BRIK in the 3dREMLfit output as expected. So it may be the case that this is limited to the-stim_times_IM
option.
Is this behaviour expected? Am I missing a flag somewhere?
Thank you!
Mrinmayi