devel
devel > Gifti on a Python interactive environment
Aug 19, 2008 12:08 PM | Benjamin Thyreau
Gifti on a Python interactive environment
Hi,
I thought some of you might be interested by some Python code i recently wrote to ease manipulation of Gifti arrays files. It's based on Erik Anderson excellent ctypes bindings, and add a superset of convenience methods to make them more useable for an Interactive Session point of view (such as the great IPython shell)
I tried to mimick Michael Hanke's excellent PyNifti library. To mirror this, i renamed my code "gifti.py" (same as "nifti.py"), which make use of pygiftiio.
The code is available at
https://code.launchpad.net/~nipy-develop...
and contains a few examples (see "source code" then the example*.py files). Most of the functions are supposed to be readily discoverable with the key on completion-enabled shells.
The current API is something i find easy to use for interactive usage, close to the PyNifti one and the Numpy one. Yet i'm open to any changes in the method names or other features if someone has interest in making this code more available.
Thanks
--
Benjamin Thyreau
I thought some of you might be interested by some Python code i recently wrote to ease manipulation of Gifti arrays files. It's based on Erik Anderson excellent ctypes bindings, and add a superset of convenience methods to make them more useable for an Interactive Session point of view (such as the great IPython shell)
I tried to mimick Michael Hanke's excellent PyNifti library. To mirror this, i renamed my code "gifti.py" (same as "nifti.py"), which make use of pygiftiio.
The code is available at
https://code.launchpad.net/~nipy-develop...
and contains a few examples (see "source code" then the example*.py files). Most of the functions are supposed to be readily discoverable with the key on completion-enabled shells.
The current API is something i find easy to use for interactive usage, close to the PyNifti one and the Numpy one. Yet i'm open to any changes in the method names or other features if someone has interest in making this code more available.
Thanks
--
Benjamin Thyreau
Threaded View
| Title | Author | Date |
|---|---|---|
| Benjamin Thyreau | Aug 19, 2008 | |
| Richard Reynolds | Aug 19, 2008 | |
| Erik Anderson | Aug 19, 2008 | |
