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 23, 2017 02:43PM
Hi all,

I’ve been spending a lot of time in python manipulating nifti files in nibabel and have been running into some trouble with afni extensions. The only one that’s really causing me grief is the template space specification, i.e. suppose that I load a nifti file that has bee processed by AFNI and marked as TLRC and then compute some function on it and write it back out again, I lose the AFNI extensions get lost, and then when I load it back into AFNI it’s treated as being in ORIG.

Is there a doc somewhere, or some example code, that creates/modifies AFNI extensions so that I can make my python code produce sensible output?

3drefit works fine, but I’d rather avoid that step if possible.

Thanks,
Souheil
Subject Author Posted

Python, nibabel, afni nifti extensions

inati January 23, 2017 02:43PM

Re: Python, nibabel, afni nifti extensions

rick reynolds January 23, 2017 03:11PM

Re: Python, nibabel, afni nifti extensions

inati January 23, 2017 05:03PM

Re: Python, nibabel, afni nifti extensions

rick reynolds January 23, 2017 07:44PM

Re: Python, nibabel, afni nifti extensions

inati January 25, 2017 07:50AM

Re: Python, nibabel, afni nifti extensions

rick reynolds January 25, 2017 11:54AM