PyNIfTI is no longer actively developed. At has been superseded by NiBabel -- a pure-Python package that provides everything that PyNIfTI could do, and a lot more.
The PyNIfTI module was a Python interface to the NIfTI I/O libraries. Using PyNIfTI, one can easily read and write NIfTI and ANALYZE images from within Python. The NiftiImage class provides pythonic access to the full header information and for a maximum of interoperability the image data is made available via NumPy arrays.
PyNIfTI is written and maintained by Michael Hanke. The author is grateful to the following people who have contributed to PyNIfTI (in order of appearance):
PyNIfTI is free-software (beer and speech) and covered by the MIT License. This applies to all source code, documentation, examples and snippets inside the source distribution (including this website). Please see the appendix of the manual for the copyright statement and the full text of the license.
Binary packages are available for:
PyMVPA is an official Debian package (python-nifti). Additionally, backports for some Debian and Ubuntu releases are also available. Please read the package repository instructions to learn about how to obtain them.
RPM packages are provided through the OpenSUSE Build Service. The currently supported distributions include: CentOS 5, Fedora 9-10, Mandriva 2007-2008, RedHat Enterprise Linux 5, SUSE Linux Enterprise 10, OpenSUSE 10.2 up to 11.0. The build service supports RPM-package repositories (Suse and Mandriva-related and Fedora, Redhat and CentOS-related) and 1-click-installations.
PyNIfTI is available from the MacPorts framework.
An installer for Python 2.5 is available from the download area.
If there are no binary packages for your particular operating system or platform, you need to compile your own. The manual contains instructions to build PyNIfTI in various environments.
Source code tarballs of PyNIfTI releases are available from the download area. Alternatively, one can also download a tarball of the latest development snapshot (i.e. the current state of the master branch of the PyNIfTI source code repository).
To get access to both the full PyNIfTI history and the latest development code, the PyNIfTI Git repository is publicly available. To view the repository, please point your webbrowser to gitweb: http://git.debian.org/?p=pkg-exppsy/pynifti.git
To clone (aka checkout) the PyNIfTI repository simply do:
git clone git://git.debian.org/git/pkg-exppsy/pynifti.git
After a short while you will have a pynifti directory below your current working directory, that contains the PyNIfTI repository.
More detailed instructions on installation requirements and on how to build PyNIfTI from source are provided in the manual.
If you have problems installing the software or questions about usage, documentation or something else related to PyNIfTI, you can post to the PyNIfTI mailing list.
Mailing list: | pkg-exppsy-pynifti@lists.alioth.debian.org [subscription, archive] |
---|
It is recommended that all users subscribe to the mailing list. The mailing list is the preferred way to announce changes and additions to the project. The mailing list archive can also be searched using the mailing list archive search located in the sidebar of the PyNIfTI home page.