Skip to content

neurorestore/neuraldynamicplatform

Repository files navigation

README

Models of spinal sensorimotor circuits and their interaction with epidural electrical stimulation.

What is this repository for?

Electrical spinal cord stimulation can improve motor control in animal models and humans with spinal cord injury. The current understanding is that the stimulation excites sensorimotor circuits below the injury by interacting with the natural activity of large afferent fibers entering into the spinal cord from the dorsal roots. Here, we built a computational framework to study the mechanisms of this interaction and how this may differ across species.

How do I get set up?

  • Dependencies

    • python 2.7
      • mpi4py
      • numpy
      • pandas
      • matplotlib
    • openmpi
    • neuron
      • --with-python
      • --with-mpi
  • Configuration

    The folder code/mod_files contains different mechanisms that describe the membrane dynamics or particular cell properties necessary for certain Neuron cell models. These files are written in MOD and need to be compiled. For this purpose cd to the code folder with a terminal application and issue the following command:

#!shell
    nrnivmodl ./mod_files
  • Running a simulation

    Different types of simulations can be executed by running the files in the code/scripts folder. Please refer to the comments inside each script to see the required arguments that need to be passed at launch time. In general, every file within this repo need to be run from the code folder. For example:

#!shell
    cd code/
    python scripts/runForSimMuscleSpindles.py 40 240 rat frwSimRat.txt test

Who do I talk to?

Emanuele Formento: emanuele.formento@epfl.ch