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  

|
July 17, 2017 10:52AM
Just to clarify and reiterate Paul's explanation, a=dset1, b=dset2, the conjunction is set up in that formula to be 3. More specifically, these are the masks for dset1 and dset2 (affective, informative). If you set b=dset2 (say "informative" in your example), you could use just 1*b, but that would give you only a value of 1, and that's the same as as if dset1 is true at at that voxel, so you can't tell the difference between 1 from affective and 1 from informative. By multiplying dset2*2, you can tell a difference because the informative mask gets a value of 2. The combination (conjunction) gets the sum of 3. The help for 3dcalc has a similar example, and there's also another similar example in the afni11_ROI.pdf from the class handouts.

For the coloring, you could write and read in a palette file, but that may be a little trickier than what you want or need. First take a look at the paned colorbars, where the "**" appears below the color bar. Each of the colors in the color bar there is selectable to change the color or to move the range. Select one with 3 colors. Another way is to use one of the ROI color bars and set the range to the number of colors in that color bar, ROI_32 -> range=32. You can make this happen automatically when you view the file with "3drefit -cmap INT_CMAP my_conjunctionmask_dset".



Edited 1 time(s). Last edit at 07/17/2017 11:20AM by Daniel Glen.
Subject Author Posted

image display issue Attachments

Juan July 17, 2017 01:44AM

Re: image display issue

ptaylor July 17, 2017 06:35AM

Re: image display issue

Juan July 17, 2017 08:01AM

Re: image display issue

Daniel Glen July 17, 2017 10:52AM

Re: image display issue

Juan July 18, 2017 12:20AM

Re: image display issue

Juan July 25, 2017 04:20PM

Re: image display issue

ptaylor July 25, 2017 04:23PM

Re: image display issue

Juan July 25, 2017 06:26PM

Re: image display issue

ptaylor July 25, 2017 07:06PM

Re: image display issue

RWCox July 17, 2017 11:16AM