I was happily testing the multiecho combine method, OC_tedort when I ran into an issue during the regression stage:
e[7m** ERROR:e[0m !! 3dDeconvolve: Can't run past 5 matrix warnings without '-GOFORIT 5'
which was new. I believe the only change was to apply motion regressors per run. The error itself comes from here,
++ Wrote matrix values to file X.nocensor.xmat.1D
e[7m*+ WARNING:e[0m -------------------------------------------------
e[7m*+ WARNING:e[0m Problems with the X matrix columns, listed below:
e[7m*+ WARNING:e[0m !! * Columns 107 [morts_r02[3]#0] and 208 [morts_r02[104]#0] are (nearly?) collinear!
e[7m*+ WARNING:e[0m !! * Columns 112 [morts_r02[8]#0] and 211 [morts_r02[107]#0] are (nearly?) collinear!
e[7m*+ WARNING:e[0m -------------------------------------------------
I investigated these multiecho derived orts (morts is a nice name) and they are not just nearly collinear, they are absolutely identical. This is both before and after projecting out the good components.
is it a problem with the (large) number of regressors leading to some strange wrap around? The first run did not report any problems, but had a smaller number of regressors.
Also, would this large number of regressors (203, but total timepoints = 890) be expected slow down the 3dREML voxel loop?
Thanks for the work on multiecho! Let me know if there are any particular details you would like to see.
To be clear, do you mean that 2 of the ‘bad’ terms
from tedana.py are identical? That is odd. The
large number of regressors is expected, since there
would be many per run.
Yes, the large number of regressors is much more
work for the regression program, and will take longer.
Can you verify whether tedana.py produced identical
components, or is that somehow coming from afni_proc.py?
If you mail me the TED directory, minus the 3-D or 4-D
data, I would be happy to take a look.
Thanks for clarifying that a large number of regressors would slow down the REML voxel loop - I assumed as much, but wanted to be sure it wasn’t a symptom of a larger problem since my execution time went from 3 hours to 12. Is that portion of the code ran in parallel?
It thought it was an afni_proc error, but I think I may have identified the actual source: tedana’s midk_rejected.txt can overlap with rejected.txt. These text files specify which components are bad, and should be punished by removal. However, they are not exclusive.
rejected.txt:
To save you the trouble of hunting, it looks like #52 and #64 are repeated between lists. I guess that would cause trouble for @extract_meica_ortvec…
For completion sake, regarding cormat warnings:
Thanks a lot for the details and the sample files.
I have checked in an update to @extract_meica_ortvec
that applies only the unique terms from the component
lists. It is at github now if you would like to give it a try.
Thanks again!
rick
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.