Every repository with this icon (
Every repository with this icon (
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Fri Nov 20 06:27:04 -0800 2009 | |
| |
.gitmodules | Thu Nov 19 10:41:32 -0800 2009 | |
| |
CHANGES | Sun Nov 29 08:58:36 -0800 2009 | |
| |
LICENSE.txt | Wed Nov 18 08:36:09 -0800 2009 | |
| |
MANIFEST.in | Wed Nov 18 09:07:20 -0800 2009 | |
| |
README.rst | Sat Nov 21 10:47:00 -0800 2009 | |
| |
bootstrap.py | Wed Nov 18 09:07:20 -0800 2009 | |
| |
docs/ | Mon Dec 14 03:38:49 -0800 2009 | |
| |
examples/ | Wed Nov 18 09:13:06 -0800 2009 | |
| |
gpl.txt | Wed Nov 18 09:07:20 -0800 2009 | |
| |
neuronvisio.egg-info/ | Mon Dec 14 03:38:49 -0800 2009 | |
| |
neuronvisio/ | Mon Dec 14 03:38:49 -0800 2009 | |
| |
pavement.py | Sun Nov 29 06:41:53 -0800 2009 | |
| |
paver-minilib.zip | Wed Nov 18 13:20:01 -0800 2009 | |
| |
setup.py | Wed Nov 18 08:36:09 -0800 2009 | |
| |
test/ | Mon Dec 07 10:30:08 -0800 2009 |
NeuronVisio
What is it
NeuronVisio is a GTK2 user interface for NEURON simulator enviroment. NeuronVisio connect with NEURON using the new python NEURON interface.
Features
- 3D visualization of the model with the possibility to change it runtime
- Creation of vectors to record any variables present in the section
- Pylab integration to plot directly the result of the simulation
- Exploration of the timecourse of any variable among time using a color
coded scale - the GUI runs in its own thread so it's possible to use the console (strongly suggested ipython)
Installation
To install NeuronVisio you need to satisfy the following dependencies
- pygtk: http://www.pygtk.org/
- visual: http://vpython.org/
- matplotlib: http://matplotlib.sourceforge.net/
and of course NEURON
Easy Install
The easiest way to get neuronvisio is if you have setuptools installed:
easy_install neuronvisio
Without setuptools, it's still pretty easy. Download the neuronvisio.tgz file from neuronvisio's Cheeseshop page, untar it and run:
python setup.py install
Documentation
The documentation is available in the doc folder or online or in pdf format in the docs direcotry
Quickstart
This code is just to give an idea in how to use nrnvisio module:
fire up an ipython console with pylab switch.:
ipython -pylab # If you don't use the switch you will not see any graph.
Import the module:
from neuronvisio.controls import Controls controls = Controls()
When nrnvisio is started the thread is launched. In this thread all the process of nrnvisio will happen without blocking the console.
As a quick example the following code:
- Creates a single section called soma
- Insert an Hodgkey-Huxley channel and a passive conductance
- Insert an alphaSynapse to provide a stimul.
A quick example can be the following::
from nrnvisio.controls import Controls
controls = Controls() # Starting the GUI
from neuron import h # Getting the HocInterpreter
soma = h.Section() # Creating a section
soma.insert('hh') # Inserting a HH channel
soma.insert('pas') # inserting a passive conductance
syn = h.AlphaSynapse(0.5, sec=soma) # synaptic input
syn.onset = 0.5 # when to fire
syn.gmax = 0.05 # the conductance of the synapse
syn.e = 0 # the reversal potential
More example in the example directory show how to use Neuronvisio with more complex model.
Contacts
Homepage: http://mattions.github.com/neuronvisio/ Mailing List: http://groups.google.com/group/neuronvisio
Help and development
If you'd like to help out, you can fork the project at http://github.com/mattions/neuronvisio and report any bugs at http://github.com/mattions/neuronvisio/issues.







