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  

|
Daniel Glen
June 09, 2006 11:34AM
I'm not sure completely of your intent, but I think you want to use a 3dcalc command. What you were looking at was simply the mask which has only a value of 0 or 1. I assume you would like to see the values in some functional dataset but limited within a mask. So let's say you have an F or t value in sub-brick 14 of func+orig, and mask+orig is the result of the 3dautomask command, you could use the following command to limit the data

3dcalc -a func+orig'[14]' -b mask+orig -expr 'ispositive(abs(a)-50)*a*b' -prefix threshfunc

This will create a dataset thresholded with absolute values only above 50. You can instead leave off the "ispositive(abs(a)-50)" part leaving just "a*b" and use the thresholding slider in the AFNI overlay in the AFNI gui to change the values interactively.
Subject Author Posted

Masking function outside brain

Dmitry June 07, 2006 09:09AM

Re: Masking function outside brain

Daniel Glen June 07, 2006 09:59AM

Re: Masking function outside brain

Dmitry June 09, 2006 09:35AM

Re: Masking function outside brain

Daniel Glen June 09, 2006 11:34AM