"NEURON for Python"Installers

For the benefit of NEURON users who would also like to use Python, provided here are unofficial pre-built installers which are novel in that they include an importable neuron module for python/ipython, i.e. out of the box they allow:


$ ipython -pylab

Python 2.6.5 (r265:79063, Apr 16 2010, 13:57:41) Type "copyright", "credits" or "license" for more information. IPython 0.9.1 -- An enhanced Interactive Python. ? -> Introduction and overview of IPython's features. %quickref -> Quick reference. help -> Python's own help system. object? -> Details about 'object'. ?object also works, ?? prints more. In [1]: import neuron NEURON -- Release 7.1 (359:7f113b76a94b) 2009-10-26 Duke, Yale, and the BlueBrain Project -- Copyright 1984-2008 See http://www.neuron.yale.edu/credits.html In [2]:

For a quick introduction to NEURON Python syntax, here is an example model script for an axon and soma with HH channels, and 3 passive dendrite cones.

NEURON 7.1 Installers

Debian/Ubuntu

NEURON 7.1 for ipython Debian/Ubuntu Linux .deb packages:
Mac OSX
These Mac OSX packages are built against the Enthought Python Distribution (EPD) version 7.1.1. Installation of the EPD, available from www.enthought.com, is therefored required prior to running these installers.

NEURON 7.0 Installers

Debian/Ubuntu

NEURON 7.0 for ipython Debian/Ubuntu Linux .deb packages:
Mac OSX
These Mac OSX packages are built against the Enthought Python Distribution (EPD) which was available in 2009, so they are getting a little old. Please try the new 7.1 installer for OSX above.

Remarks

The Ubuntu/Debian packages install NEURON and InterViews under /opt/nrn and /opt/iv respectively, and install the NEURON python module in /usr/lib/python2.5/site-packages or /usr/local/lib/python2.6/dist-packages for python 2.5 or 2.6 respectively.

The Mac OSX packages install NEURON and IV in the /Applications/NEURON-7.0 folder, and the NEURON extension module for Python in the appropriate place for EPD to find and import it.

The software provided in these packages is a binary build of InterViews 17 and NEURON 7.1 and 7.0 respectively, as available for download from http://www.neuron.yale.edu.

NEURON is licensed under the GPL v2.0, and InterViews under a proprietary open-source lincense permitting redistribution here (see source for details).

All packages are provided AS IS, with NO WARRANTY.