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  

|
January 18, 2018 03:04PM
Hi, Sondos-

I think by "cat"ing the text file, that is like adding lots of arguments after the option name, which confuses the parser and so it doesn't recognize -refset as an option name.

In any case, the program is not meant to be used in that manner. You should enter the name of a single data set (which can have multiple volumes) after each of the "-inset" and "-refset" options. Those sets much have the same grid space, so that they can be compared voxelwise.

For individual comparisons, the files will have to be analyzed one-by-one. You can loop over the name of files for this inset, for example. If you are familiar with tcsh syntax, this could be done with, say:
set allfiles = `ls SOME_DIR/*HEAD`
foreach vv ( $allfiles )
     set bb = `3dinfo -prefix_noext $vv`
    3dMatch -inset $vv    \
              -refset /Users/sondos/Desktop/dualreg_40subj_output3/merged_Yeo_40sub_standardSpace_matchingZscore.nii.gz  \
              -mask /Users/sondos/Desktop/dualreg_40subj_output3/maskALL.nii.gz \
              -in_min 0 \
              -prefix 3dMatch_40sub_$bb
end
(This matches some fo the output files prefix with each input file's name.)

--pt
Subject Author Posted

AFNI command: 3dMatch

sondosayyash January 18, 2018 01:57PM

Re: AFNI command: 3dMatch

ptaylor January 18, 2018 03:04PM