Python

From Waisman Brain Imaging Wiki

Python is a high-level scripting language much like matlab. It is straightforward to wrap existing C and FORTRAN libraries so they can be called from within Python. As a result, most numerical applications run at the speed of the C code rather than of the interpreted language. See the list of libraries available here in the list below.

Python

Numerical Python Numerical Python implements mathematical operations using arrays. It was originally written for astronomy and was known as "Numeric" In late 2006 a major revision was released that makes its inner workings more compatible with standard Python. It now goes by the name "numpy" and is not quite backwards compatible with Numeric.

  • Numeric (http://numpy.scipy.org//numpy.pdf) documentation, most of which applies to numpy.
  • Numpy (http://numpy.scipy.org//) website.

Scientific Python Scientific contains many useful mathematics routines. The documentation is often sketchy but it is still a good resource.

VTK This is a large library of functions useful for image visualization. It is part of the visible human project. It is callable from python. Documentation is virtually nonexistent unless you buy the book.

  • VTK (http://public.kitware.com/VTK/) home page.

ITK Large software package dedicated to medical image segmentation and registration.

  • ITK (http://www.itk.org/) homepage.
  • Tutorials (http://www.itk.org/HTML/Tutorials.htm)
  • Software Guide (http://www.itk.org/ItkSoftwareGuide.pdf)

matplotlib Adds plotting functions to Python.

  • Homepage (http://matplotlib.sourceforge.net/)
  • Tutorial (http://matplotlib.sourceforge.net/tutorial.html)
  • Users Guide (http://matplotlib.sourceforge.net/users_guide_0.87.7.pdf)

Python Mega Widgets (Pmw) Very high level widgets for creating plots.

Pythoncard Very high level interface for constructing GUIs.

Python Imaging Library Robust and useful library of image processing routines.

  • Homepage (http://www.pythonware.com/products/pil/)
  • Libary Handbook (http://www.pythonware.com/library/pil/handbook/index.htm)

tkinter Oldest and widely used widget set used for Python GUIs.

  • Wiki (http://wiki.python.org/moin/TkInter)
  • Tutorial (http://www.pythonware.com/library/tkinter/introduction/)
  • Reference (http://infohost.nmt.edu/tcc/help/pubs/tkinter/)

wxPython Relatively low-level cross-platform widget set based on OpenGL

Gnu Scientific Library C libraries of mathematical routines such as FFTs, special functions, and fitting routines.

  • Homepage (http://www.gnu.org/software/gsl/)
  • Reference (http://www.gnu.org/software/gsl/manual/html_node/) Manual