/icg-nrn-sim

NEURON tool to run voltage clamp protocols against .mod files

Primary LanguagePythonGNU General Public License v2.0GPL-2.0

icg-nrn-sim

Tool to run voltage clamp protocols in the NEURON Simulator against one or several .mod files.

Usage

To run a single Kv mod file, create a working directory: mkdir -p /tmp/work

Go into the working directory: cd /tmp/work

Then, assuming this repository is cloned under /tmp/icg-nrn-sim, to run a single .mod file which is in /tmp/modfiles/modfile.mod execute the following:

/tmp/icg-nrn-sim/runsingle.pl /tmp/modfiles/modfile.mod /tmp/icg-nrn-sim/kvconfig.in result

Again, assuming this repository is cloned under /tmp/icg-nrn-sim, to run several .mod files which are in /tmp/modfiles, execute the following:

/tmp/icg-nrn-sim/runbatch.pl /tmp/modfiles /tmp/icg-nrn-sim/kvconfig.in result

Notes

  • The script copies several files to the directory it was called from, so this should be executed from a clean working directory.
  • Currently, the mod file can not be inside the working directory you are calling the script from. It is enough to place it in a subdirectory, e.g. /tmp/work/