![]() |
|
Home | |
Manual
|
Part B: Making our s more "subthalamic"B.1.a Changing membrane propertiesAs mentioned in part A1, the built-in passive and active channel properties (pas and hh respectively) are not appropriate for subthalamic s. We can modify the passive property parameters in the dendrites and soma to reflect correctly the passive membrane properties of rat subthalamic nucleus projection s. To modify the active channel properties we will need to build new active channels (see part D) using the model description language (NMODL). For the moment we will simply modify the standard hh channel densities. We recommend that you open CellGUI.hoc and save it as Thalamic1.hoc. As in previous tutorial, type the code that is highlighted into the file. Remember to save it periodically. Save it in the same folder as the others Your Thalamic1.hoc file should look like the following: load_file("nrngui.hoc") soma nseg=1 insert hh dend[0] { nseg = 5 diam = 3.18 L = 701.9 Ra = 123 insert pas } // Connect things together objectvar electrode print soma.v forall psection() tstop = 300 As described in part A1, we can access the passive and active properties once they are inserted in the section. For example, we can increase the soma sodium channel density by adding the code that specifies the hh properties:
The properties of the passive membrane mechanisms in the soma and dendrites must also be changed. Subthalamic nucleus projection s in rat have a membrane time constant of 6msec. As we assume all cells have approximately the same membrane capacitance (1 µF/cm2), by using the assumption of an RC circuit we can calculate the subthalamic nucleus projection membrane resistance from: time constant = Resistance * Capacitance This yields a membrane resistance of 6000 ohms cm2. Remember, requires this as a conductance g_pas (which is the reciprocal of the resistance, i.e. 0.0001667 S/cm2). Subthalamic nucleus cells also have a very high resting membrane potential, so our leakage equilibrium potential (e_pas) is set to -60mV. The dendrite definition then becomes (for dendrite 0): dend[0] { nseg = 5 diam = 3.18 L = 701.9 Ra = 123 insert pas g_pas = .0001667 e_pas = -60.0 } Note, you must make the same passive changes in the other dendrite. dend[1] { nseg = 5 diam = 2.0 L = 549.1 Ra = 123 insert pas g_pas = .0001667 e_pas = -60.0 } The hh channels inserted into the soma also contains passive properties, called gl_hh and el_hh. These can be modified in a similar manner, making our soma definition: gnabar_hh=0.25 Save the file with the changes we suggested and run the file by finding it and double clicking on it. Once it has been opened and you can access the Main Menu window, select Graph>>Voltage axis and then run the program again. You should see the following graph: If you have problems running and visualizing the results go back to the "Using the GUI interface" tutorial. B.1.b Avoiding tedious typing: for loopsWe will modify our Thalamic1.hoc file dramatically through this process. Therefore it is advisable to make a working copy of Thalamic1.hoc. To do so "save as" the Thalamic1.hoc file as Thalamic2.hoc. We will work on Thalamic2.hoc. In the previous section, you should have inserted passive channels and set their properties for dend[0] and dend[1] individually. This is OK when there are only two dendrites, but what if there were 100 dendrites that we wanted to insert passive conductances into? We'd have to type out 100 times three lines or do lots of cutting and pasting; boring and liable to lead to repetetive stress syndrome (RSI). The solution is the for loop. A for loop can step through each element in an array in turn. The format of the for loop is: for var = lower-bound, upper-bound command where var is the loop variable, lower-bound is the lower bound
of the loop, upper-bound is the upper bound of the for loop and command is
the command we want to run through the loop. Thus to insert passive conductances
and change their properties in the dendrites we can replace the bold-green
text in the following statements with the following line for i = 0, ndend-1 dend[i] { insert pas g_pas = .0001667 e_pas = -60.0 }
To program for loops, we have had to make many changes. Run the simulation again and be sure it is working. If you get the same data/graphs as you saw in B.1.a, you're on the right track. If not, refer to Thalamic2.hoc in the code section of the tutorial folder. The code in Thalamic2.hoc should look like this: load_file("nrngui.hoc") //Define membrane mechanisms insert hh
for i = 0, ndend-1 dend[i] { insert pas g_pas = .0001667 e_pas = -60.0 } // Connect things together // create an electrode in the soma print soma.v forall psection() tstop = 300 Note: since 'electrode' is simply the named we gave to the object we created in the previous tutorials, in practicality it can have any name. In this code, it is referred to as 'stim.' Summary
Next: Creating a realistic dendritic tree AcknowledgementsLast modified on 10/29/04 by based on tutorial written by
|
AcknowledgementsLast modified on 10/29/04 by based on tutorial written by |