Chapter 7. Programming Simulations

7.3 MECHANISM ASSIGNMENTS.

A. By Program

Mechanisms are invoked and assigned as shown in the program below.

Box 3. mechanisms.hoc


     soma	{ insert hh	gnabar_hh = .5 gkbar_hh = .5 gl_hh = .5
		 insert NaCax}
		// inserts into soma Hodgkin & Huxley channels
 		// (but sets channel density at 0.5 the normal HH value)
		// and inserts the sodium-calcium exchange mechanism

     axon	 insert hh
		// inserts Hodgkin & Huxley channels into axon 
		// with standard channel densities  

For more detailed and controlled assignment of channels in a complex structure, an EXAMPLE is available where the assignments are carried out by the procedure membrane().

A. By Graphical Interface

By Pressing the "Distributed Mechanisms" button on the NEURON Main Panel panel, selecting "Managers" then "Inserter" to bring up the "Insert browser" which shows the soma as the accessed section in red.

When a new section is selected (here dendrite[0]) , it is high lighted in red and the soma color is changed to black. Acceptance of this selection brings up the "Inserter" list for selection of mechanisms to be inserted in the newly selected section. This example is taken from the Single Compartment Simulator described in Chapter 6.



As soon as the mechanisms have been inserted, the default values of their parameters again can be viewed by pressing the "Distributed Mechanisms" button on the Main Menu Panel; this brings up the submenu panels as before. A double-click on the soma now brings up a panel listing the Hodgkin-Huxley set of parameters.

Any of these may be changed as follows: