Greetings all,
I'm attempting to merge two sub-bricks within a bucket using the following command structure:
3dmerge \
-1fmask subject.S1and2.Lum_Tstats_mask.nii \
-prefix subject.1.Lum.subbrick \
-1thtoin \
-1blur_fwhm 3 \
-1tindex 1 \
-1thresh 1.96 \
-1clust 2.01 207 \
'3dcalc( -a 'subject.S1.Lum_Zscores_bucket+orig'[1]'' -b 'subject.S2.Lum_Zscores_bucket+orig'[1]'' -expr ((a+b)/2) )'
However, I keep getting the following error message:
*** Dataset 3dcalc( -a 'subject.S1.Lum_Zscores_bucket+orig'[1]'' -b 'subject.S2.Lum_Zscores_bucket+orig'[1]'' -expr ((a+b)/2) ) does not have enough bricks for -1tindex 1
Any ideas?
Should I have entered -1tindex 2 because there are two sub-bricks?
Thanks in advance!
Tino