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  

|
January 28, 2005 02:34PM
I think I've found the problem. The data range in the dataset you gave me is
quite limited -- most values are between -10 and 10. And the dataset is stored
as shorts -- an integer type. So when averaged, a lot of values are going to be
nearly zero -- and then get truncated to zero when converted back to shorts.

The solution is to convert the file to floats first, as in

3dcalc -a odbl_cat_TR_40+orig -datum float -expr a -prefix fff

then do the '3dmerge -1blur_fwhm' and '3dFWHM' stuff on the fff+orig file,
which will all be done in floats now. You should probably do this regularly
as part of your overall script, deleting the fff+orig dataset when you don't
need it anymore.

Hope this helps. It isn't a wraparound problem as I thought, since I see that
the blurring code correctly expands the FFT length to avoid this problem.

Subject Author Posted

problem with -1blur_fwhm in 3dmerge

Lee Friedman January 27, 2005 05:48PM

Re: problem with -1blur_fwhm in 3dmerge

Zorkon the Magnifimoose January 27, 2005 09:19PM

Re: problem with -1blur_fwhm in 3dmerge

Lee Friedman January 28, 2005 08:18AM

Re: problem with -1blur_fwhm in 3dmerge

Robert Cox January 28, 2005 10:00AM

Re: problem with -1blur_fwhm in 3dmerge - SOLUTION

Robert Cox January 28, 2005 02:34PM