How to plot whole cell currents?
How to plot whole cell currents?
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?
-
- Site Admin
- Posts: 6299
- Joined: Wed May 18, 2005 4:50 pm
- Location: Yale University School of Medicine
- Contact:
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
where process_results() is a procedure that performs the addition and displays or saves
the results.
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()
}
the results.
Re: How to plot whole cell currents?
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)?