A repository to create a new interactive 3d GUI for compartmental neuron modeling tools like NEURON, Jaxley, Arbor, and MOOSE.

Provide a generic way for someone to swap out their compartmental neuron simulator, simulation setup, and add their own widgets and interactions to their visualization.
Currently there is a functional demo both for the complex morphology of a single cell and the entire c elegans nervous system.
python examples/neuron/visualizer_example.pyruns the complex morphology of a single cell demopython examples/neuron/c_elegans_visualizer.pyruns the whole c elegans nervous system morphology demo
-
Install neuron via
pip install neuronon Unix or via an exe for Windows here: https://www.neuron.yale.edu/neuron/download -
Install as a package via
pip install -e .in the root directory. NOTE: You must have Python 3.11 or higher. -
Run
python examples/neuron/visualizer_example.py -
You can swap out the swc file being used by simply adding your swc file path instead of the one being used in the file.
-
The demo will run a NEURON simulation where we load the morphology, add Hodgkin Huxley and passive dynamics, apply a number of current clamps over an 80 ms period
-
a. You can update the experimental setup currently in the
setupmethod. But this approach may be subject to change.b. The easy things to change currently are changing the mechanisms being added and point processes: IClamps, etc.
- You can interact by clicking on a section to watch its voltage trace
- You can rotate around by clicking and dragging LMB
- You can move around by pressing Shift and clicking and dragging LMB
- You can zoom either with the scroll wheel or clicking and dragging RMB
- Press Spacebar to restart the simulation.