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 10, 2003 04:14PM
Hi All,

We've recently run into some numerical overflow problems when reading our AFNI data into Matlab.

Initially all of the EP subbriks are shorts and the scale seems to be around 0 to 800. When read into Matlab the values range from -32767 to 32767, but there seems to be some wrapping when we display the data. (Values that are over 32767 are wrapped back around as negative values?)
When we write these datasets back out into BRIK and HEAD format AFNI seems to read them without any of the wrapping that we see in Matlab.
How is this wrapping corrected by AFNI?

Also, a 3dinfo on a regular EP dataset produces the following:
-- At sub-brick #680 '#680' datum type is short: 0 to 742

A 3dinfo on the output of 3dDeconvolve:
-- At sub-brick #34 'L1-2_acheive[0] Coef' datum type is short: -32767 to 16996 [internal]
[* 0.000403292] -13.2147 to 6.85435 [scaled]

The "internal" values are what we seem to be seeing when reading the regular EP dataset into matlab. Is there any way to see the internal values on a pre-deconvolution EP dataset?

Emmette

Subject Author Posted

AFNI format and scaling

Emmette December 10, 2003 04:14PM

Re: AFNI format and scaling

rick reynolds December 10, 2003 04:46PM

Re: AFNI format and scaling

bob cox December 11, 2003 10:27AM