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  

|
December 19, 2003 03:01PM
Hi Leonard,

If you do not specify an output dataset type (via the
'-datum' option), then 3dcalc uses the type from the
first dataset on the command line.

In your case, your first dataset is the mask, which is
of type 'byte' which is unsigned. So your output
dataset is unsigned.

An easy fix would be to switch the order of your
datasets in the 3dcalc command, putting Expt_...
first.

A alternate fix would be to explicitly specify the
output data type (such as '-datum short').

- rick

Subject Author Posted

3dAutomask - How do you keep negative values?

Leonard Leyba December 19, 2003 02:23PM

Re: 3dAutomask - How do you keep negative values?

rick reynolds December 19, 2003 03:01PM