recording total synaptic currents
Posted: Sat May 23, 2009 6:18 am
I am trying to produce a synthetic EEG from my model using a formula from (page 1207):
P. Erdi, Z. Huhn, T. Kiss. Hippocampal theta rhythms from a computational perspective:
Code generation, mood regulation and navigation. Neural Networks, 18(9):1202–1211, 2005.
I am running into a problem: first I tried writing a method to sum the synaptic currents of all cells, and then using Vector.record to save the result of the method at each time step. I got an error presumably because Vector.record expects a pointer to a single variable. Then I tried making individual vectors to record each current of each synapse, which worked with a small number of synapses, but runs out of memory in the full model. Is there a way to get the sum of the currents into a single variable at each time step without having to, say, modify fadvance() (which frightens me)?
I also read in the "record current" topic here that mentions using i_membrane of the extracellular mechanism. Would that value include capacitive currents and active membrane currents, as well as synaptic currents? I'll have to ask the people I'm working with if that would be a problem. The extracellular mechanism is way outside my NEURON comfort zone. Is there a gentler introduction to it than the programmer's reference? Does inserting extracellular alter the behavior of the cell, or just provide more variables to record?
P. Erdi, Z. Huhn, T. Kiss. Hippocampal theta rhythms from a computational perspective:
Code generation, mood regulation and navigation. Neural Networks, 18(9):1202–1211, 2005.
I am running into a problem: first I tried writing a method to sum the synaptic currents of all cells, and then using Vector.record to save the result of the method at each time step. I got an error presumably because Vector.record expects a pointer to a single variable. Then I tried making individual vectors to record each current of each synapse, which worked with a small number of synapses, but runs out of memory in the full model. Is there a way to get the sum of the currents into a single variable at each time step without having to, say, modify fadvance() (which frightens me)?
I also read in the "record current" topic here that mentions using i_membrane of the extracellular mechanism. Would that value include capacitive currents and active membrane currents, as well as synaptic currents? I'll have to ask the people I'm working with if that would be a problem. The extracellular mechanism is way outside my NEURON comfort zone. Is there a gentler introduction to it than the programmer's reference? Does inserting extracellular alter the behavior of the cell, or just provide more variables to record?