I've modified an analysis to include a vector of noise time courses estimated using ICA. Since IC effects should be consistent across runs, I'm using taskregs instead of nuisregs. I can define the analysis and set up contrasts fine; however, when I run the analysis (selxavg3-sess), I get the following error:
[...]
Saving h.dat to /Freiwald/sshepherd/imaging/aboutFace/merged_Milo/bold/a_401_Av_s_task_fmov_bgrnd_icadenoise/h.dat
Error using zeros
Size inputs must be integers.
Error in fast_selxavg3 (line 1248)
hhattmp = [zeros(Navgs_per_cond,nvox); hhattmp]; % Add zero for cond 0
>> ------------------------------------------
ERROR: fast_selxavg3() failed\n
a_401_Av_s_task_fmov_bgrnd_icadenoise failed
[...]
============================
Looking at h.dat, I notice "Nh" is set 3.625000e+00 rather than "1" as usual.
Any tips on how to debug further?
stephen v. shepherd phd
The Rockefeller University / 1230 York Avenue / New York NY 10065-6307 USA // 212.327.7699