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 12, 2010 09:48PM
Hi,

One little request to greatly increase the utility of 3dABoverlap's output in many cases:

It looks like datasets A and B are each currently identified by the filename of the datasets at the time of the actual comparison within the program, which isn't necessarily the reference supplied by the user, leaving it less informative at best. At least one probable exception is that the '.gz' on compressed NIfTI file names does get included. (I say 'probable' because it's not an exception if the pipe used for the transparent decompression keeps the '.gz' in its name, though I wouldn't guess that to be the case.)

Here are two examples:

1.
Input:
3dABoverlap ../../masks_long/AAL/1006long_custom_MNI_drewVAC+orig.nii.gz 'Indices+orig[S2_Scenes-Faces_s-f_stim#0_Coef]<0..50>'
Current relevant line of output:
#A=../../masks_long/AAL/1006long_custom_MNI_drewVAC+orig.nii.gz B=./Indices+orig.BRIK
Proposed:
#A=../../masks_long/AAL/1006long_custom_MNI_drewVAC+orig.nii.gz B=./Indices+orig.BRIK[S2_Scenes-Faces_s-f_stim#0_Coef]<0..50>
(i.e. retain subscripts; the addition of '.BRIK' is good, more specific, though it would be better if that were a form that could be reused as input)
or at least:
#A=../../masks_long/AAL/1006long_custom_MNI_drewVAC+orig.nii.gz B=./Indices+orig[S2_Scenes-Faces_s-f_stim#0_Coef]<0..50>
(i.e. the literal* strings passed by the shell--no work required)

2.
Input:
3dABoverlap ../../masks_long/AAL/1006long_custom_MNI_drewVAC+orig.nii.gz '3dcalc( -a Indices+orig[S2_Scenes-Faces_s-f_stim#0_Coef] -expr ispositive(a) -datum byte )'
Current output:
#A=../../masks_long/AAL/1006long_custom_MNI_drewVAC+orig.nii.gz B=./3dcalc_PRN_QQbI2m27PY4HwxWNXRkWSQ+orig.BRIK
Proposed:
#A=../../masks_long/AAL/1006long_custom_MNI_drewVAC+orig.nii.gz B=3dcalc( -a Indices+orig[S2_Scenes-Faces_s-f_stim#0_Coef] -expr ispositive(a) -datum byte )

* One exception, if applicable: if 3dABoverlap has any internal wildcard/glob comprehension, I suspect displaying the post-expansion or resolved reference would be desirable behavior more often than not.

Thanks,
Terry

P.S. Could the '-verbose' option to 3dcalc be reserved for cases when 3dABoverlap itself is called with -verb?
Subject Author Posted

Request for 3dABoverlap: refer to input datasets as entered

Terry March 12, 2010 09:48PM

Re: Request for 3dOverlap: refer to input datasets as entered

Terry March 12, 2010 10:21PM