Is there any vector show the total current?

The basics of how to develop, test, and use models.
Post Reply
Lei

Is there any vector show the total current?

Post by Lei »

Hi guys,

I'm wondering if there is any way to plot the total current in a special compartment? I insert some mechanisms into a single compartment and want to see the total current flow through the membrane. Is there a varible called I_total or anythinglike that in Neuron, or I must write a code by myself?

Thanks a lot,

Lei
ted
Site Admin
Posts: 6300
Joined: Wed May 18, 2005 4:50 pm
Location: Yale University School of Medicine
Contact:

Post by ted »

If you insert the extracellular mechanism, you can get total membrane
current from its i_membrane. However, that includes capacitive current.
If you only want ionic currents, you must add them up yourself. The most
efficient way to do that is to use Vector record() to capture each ionic
current during the simulation, then add the Vectors after the end of the
simulation run.
Post Reply