Hi All,
To make it clear to the viewer of my figures, I want to display the family of injected current pulses into the soma (a family of square waves of varying hyperpolarising amplitude). How can I do this in NEURON? I am struggling to get my model to output a square wave in the current window, wherein I have asked to "Plot what?" as the sum of all my membrane currents. Am I meant to get sign convention correct when I define this sum?
For example:
soma[0].ica-ik+i_pas-i_cap+i_na(0.5)
help me!
Thanks,
Linford
Displaying Injected current pulses from an IClamp
-
- Site Admin
- Posts: 6394
- Joined: Wed May 18, 2005 4:50 pm
- Location: Yale University School of Medicine
- Contact:
Re: Displaying Injected current pulses from an IClamp
Presumably the source of current is an IClamp, and I'd bet you're also using the GUI. Read the Programmer's Reference entry on IClamp and you'll discover the name of the variable that reports the current it delivers.lb5999 wrote:I want to display the family of injected current pulses into the soma (a family of square waves of varying hyperpolarising amplitude).
Create a "Current axis" graph, bring up a "Plot what?" window, click on its "Show" button, select "Objects", then scroll through the list until you discover IClamp_. Select that item.
The middle panel will display one or more index numbers, each of which corresponds to an existing IClamp. Select the one that corresponds to your IClamp.
The right panel will show a list of public names that belong to the IClamp class. One of these will be the name of the variable that reports the current delivered by an IClamp. Select that.
Before you click on Plot what?'s Accept button, examine the string that was created in the edit field of this tool. Now you know what to type into that field in the future.
Re: Displaying Injected current pulses from an IClamp
Perfect! Thank you Ted.. I have another question, I'll post it as a new thread.
L
L