Skip to content

CNOW_run.hoc

Joey Kilgore edited this page Nov 16, 2018 · 3 revisions

The CNOW_run.hoc is the starter file for the CNOW simulation

This simulation will simulate electrode(s) being connected to the axon of a neuron, and show that high frequency alternating current can block action potentials. There are numerous adjustments the user can make including but not limited to, waveform shape, frequency, diameter of axon, etc. The user can test different parameters and observe how the action potential responds.

The actual code for CNOW_run.hoc is simply just calling multiple other files and setting up the test environment.

To actually run the simulation, make sure you already have NEURON installed (see NEURON and Python Setup for more details). Opening the NRNGUI will launch a main menu, and from there you will need to set your working directory to the folder that you have all the .hoc,.mod files saved. This should say that multiple files were loaded on the Neuron console window. Again using the main menu, load the CNOW_run.hoc file, and you should see multiple windows pop up. These windows are the CNOW simulation environment.

The RunControl window will allow you to start the initial simulation that is already setup:

drawing

There are multiple parameters you can set from this window, but the initial values will give you a good starting point. Click 'Init & Run' and the simulation will begin.
Clone this wiki locally