Displaying Injected current pulses from an IClamp

Anything that doesn't fit elsewhere.
Post Reply
lb5999
Posts: 56
Joined: Mon Oct 11, 2010 9:12 am

Displaying Injected current pulses from an IClamp

Post by lb5999 »

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
ted
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

Post by ted »

lb5999 wrote:I want to display the family of injected current pulses into the soma (a family of square waves of varying hyperpolarising amplitude).
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.

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.
lb5999
Posts: 56
Joined: Mon Oct 11, 2010 9:12 am

Re: Displaying Injected current pulses from an IClamp

Post by lb5999 »

Perfect! Thank you Ted.. I have another question, I'll post it as a new thread.

L
Post Reply