How to plot whole cell currents?

Anything that doesn't fit elsewhere.
Post Reply
johneric
Posts: 6
Joined: Thu Apr 27, 2006 8:08 am

How to plot whole cell currents?

Post by johneric »

I have built a neuron model with around 200 compartments. There are around 80 AMPA synapses spread out across these compartments. While I can plot the AMPA current with respect to time for each synapse, I would like to plot the whole cell AMPA current, ie the sum of currents through all the AMPA synpases in the cell. How do I achieve this?
ted
Site Admin
Posts: 6299
Joined: Wed May 18, 2005 4:50 pm
Location: Yale University School of Medicine
Contact:

Post by ted »

Record the time course of each synapses current with the Vector class's record method.
After each run, add up all the Vectors with the Vector class's add method.
Automate the process by using a custom run procedure

Code: Select all

proc myrun() {
  run()
  process_results()
}
where process_results() is a procedure that performs the addition and displays or saves
the results.
josslomb
Posts: 1
Joined: Tue Mar 22, 2011 9:01 am

Re: How to plot whole cell currents?

Post by josslomb »

What if I would like to take into account the current loss over the compartments (such as the dendrites) between the synapses and the one where I put the electrode (for instance the soma)?
Post Reply