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 31, 2008 09:21AM
Hi John,

The 3dUndump program reads in the data as float, and stores it
based on any '-datum' option provided. If none was given, it
defaults to short.

NaN values are read in as that. If you save your dataset as
floats, I belive they are zero'd out. But if you save it as
shorts, I belive the conversion from float to short translates
them to -32767 and they are stored as such (which is presumably
not what you want).

In any case, it is probably not good to have NaN in your input
file. If you want to remove them, you can do so by:

sed 's/NaN/0.0/g' INPUT.txt > OUTPUT.txt

Note that AFNI programs do not tend to treat NaN in any special
way, except for where it either complains about them, or it
zeros them out.

----

The ANOVA program do not check for cases where say, "only 6 of
the 8 input datasets have a non-zero value". Degrees of freedom
are assigned for entire tests, not voxel-by-voxel. So these
programs do not have the ability to do what you are suggesting,
as far as I know.

- rick

Subject Author Posted

A question on 3dundump

John Sheppard December 30, 2008 04:45PM

Re: A question on 3dundump

rick reynolds December 31, 2008 09:21AM

Re: A question on 3dundump

Bob Cox December 31, 2008 09:39AM

Re: A question on 3dundump

John Sheppard January 10, 2009 11:05AM