AFNI Message Board

Dear AFNI users-

We are very pleased to announce that the new AFNI Message Board framework is up! Please join us at:

https://discuss.afni.nimh.nih.gov

Existing user accounts have been migrated, so returning users can login by requesting a password reset. New users can create accounts, as well, through a standard account creation process. Please note that these setup emails might initially go to spam folders (esp. for NIH users!), so please check those locations in the beginning.

The current Message Board discussion threads have been migrated to the new framework. The current Message Board will remain visible, but read-only, for a little while.

Sincerely, AFNI HQ

History of AFNI updates  

|
March 20, 2008 07:04PM
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
Subject Author Posted

-1tindex

Tino March 20, 2008 07:04PM

Re: -1tindex

rick reynolds March 20, 2008 08:12PM