1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158
|
.. _hoc_electrod:
Electrode
---------
.. hoc:class:: Electrode
A current injection electrode inserted in the middle of the
current section which can be switched between current and voltage
clamp modes and can do simple voltage clamp families.
usage: :samp:`{section} {e} = new Electrode([{xplacement}, {yplacement}])`
e.stim and e.vc can used to set parameters programmatically.
Electrode can be saved in a .session file and is best used
anonymously so that it is dismissed and point processes deleted
when the graphic is dismissed.
----
.. hoc:method:: Electrode.IClamp
Switches the Electrode to single pulse current injection. Uses IClamp
point process.
----
.. hoc:method:: Electrode.del
Time (ms) of the onset of the current stimulus relative to t = 0.
----
.. hoc:method:: Electrode.dur
Duration (ms) of the current stimulus
----
.. hoc:method:: Electrode.amp
Amplitude (nA) of the current stimulus
----
.. hoc:method:: Electrode.VClamp
Switches the Electrode to two electrode voltage clamp. Uses :hoc:class:`VClamp` point
process that allows up to three level changes. The clamp is set to be ideal.
----
.. hoc:method:: Electrode.dur0
Duration in milliseconds of each level change starting at t=0. Each level
is concatenated. At t = dur0+dur1+dur2 the clamp is switched off and
no longer injects current.
----
.. hoc:method:: Electrode.amp0
Amplitude in millivolts of each level.
----
.. hoc:method:: Electrode.VClampigraph
Creates a currentgraph displaying the voltage clamp current. This button
exists because, with the present implementation, it is generally not
possible to reference the Electrode object from hoc because the only reference
is held by a vbox which in turn is only referenced by this Electrode. In
this way, when the Electrode window is dismissed, the Electrode is
destroyed and the point processes are removed from the neuron.
----
.. hoc:method:: Electrode.VClampFamily
Several common families for voltage clamp experiments. One should bring
up a current graph (VClampigraph button in VClamp card) and select KeepLines
in the graph popup menu. Only one clamp parameter is changed and the other
duration and amplitude levels are given by the values set in the VClamp panel
See User HocCode Electrode varyamp for the how the levels are varied.
----
.. hoc:method:: Electrode.Testlevel
varies amp1 in 10 steps
----
.. hoc:method:: Electrode.Holding
varies amp0 in 10 steps. Initialization is carried out at the value of amp0
so it is equivalent to the holding potential.
----
.. hoc:method:: Electrode.Returnlevel
varies amp2 in 10 steps.
----
.. hoc:method:: Electrode.Location
Shows a Shape scene of the neuron with the Electrode location marked as
a blue dot. The electrode location can be changed by making sure the
Section item in the selection menu is selected (right mouse button) and
pressing the left mouse button at any point on the picture of the neuron.
The position of the electrode is also reflected in the varlabel in the panel
just above the Shape.
|