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  

|
August 09, 2012 05:10PM
This is the dawning age of aquarius (musical reference)....

You will probably also need to change the leading number in the "dim" field to change the number of dimensions from 5 to 4, set the size of each dimension and the units for the dimensions including your new time dimension and remove any existing AFNI extension too.

nifti_tool -mod_hdr -mod_field dim "4 80 80 33 152 1 1 1" -prefix buckettime.nii -infile bucket.nii
nifti_tool -rm_ext ALL -overwrite -infile bucketime.nii
nifti_tool -mod_hdr -mod_field pixdim "1.0 2.75 2.75 3.0 2.0 1.0 0.0 0.0" -overwrite -infile buckettime.nii
nifti_tool -mod_hdr -mod_field xyzt_units 10 -overwrite -infile buckettime.nii

See this previous posting too:

http://afni.nimh.nih.gov/afni/community/board/read.php?1,82414,82432#msg-82432
Subject Author Posted

4D in Nifti problems

Jed Meltzer August 09, 2012 04:25PM

Re: 4D in Nifti problems

gang August 09, 2012 04:49PM

Re: 4D in Nifti problems

Daniel Glen August 09, 2012 05:10PM

Re: 4D in Nifti problems

Jed Meltzer August 09, 2012 05:42PM

Re: 4D in Nifti problems

Daniel Glen August 09, 2012 05:51PM

Re: 4D in Nifti problems

rick reynolds August 09, 2012 08:39PM

Re: 4D in Nifti problems

jedmeltzer August 10, 2012 11:39AM