[pymvpa] [pynifti] Extended Header information in Nifti
Michael Hanke
michael.hanke at gmail.com
Fri Jan 9 13:57:03 UTC 2009
Hi,
[ for some reasons the mailing lists seem to be dead -- sending this one
again -- hope it makes it to you ]
On Fri, Jan 09, 2009 at 06:49:24AM +0100, Michael Hanke wrote:
> Hi,
>
> On Thu, Jan 08, 2009 at 04:47:02PM -0500, Luke Bloy wrote:
> > Hi all,
> >
> > I was wondering if pynifti supported the nifti extended header as
> > described Here? <http://nifti.nimh.nih.gov/nifti-1/documentation/faq#Q21>
> No, the current release does not -- it will pretty much ignore extensions.
I have now implemented basic support for extensions. It should work with
any text-based extension (which seems to be the majority). Please have a
look at the Git repository for the patch:
http://git.debian.org/?p=pkg-exppsy/pynifti.git;a=commitdiff;h=3db15a222217ec0f3b3b591b80313a8e1cbcd941
And especially the docstring for the NiftiExtension class for a couple
of example use-cases:
http://git.debian.org/?p=pkg-exppsy/pynifti.git;a=blob;f=nifti/extensions.py;h=db259145973f4bad20a3d6374af9ecec8b48b47d;hb=3db15a222217ec0f3b3b591b80313a8e1cbcd941
Is that what you are looking for?
Looking forward to your feedback,
Michael
--
GPG key: 1024D/3144BE0F Michael Hanke
http://apsy.gse.uni-magdeburg.de/hanke
ICQ: 48230050
More information about the Pkg-ExpPsy-PyMVPA
mailing list