Anything that doesn't fit elsewhere.
2 posts • Page 1 of 1
Hi, I would like Neuron to give me a readout of the synaptic current that a neuron receives. Ordinarily, this would be easy because you could record the synaptic current(s) in a vector and then just average the contents of the vector. However, in my simulations the synaptic currents begin at a particular time (a VecStim generates the synaptic currents at the specified times based on an input vector) seconds after the start of the simulation. If I average over all of the synaptic current vector, I would include times when the synapse was inactive, so what I would like to do is to only average between the times of the first and last event in the input vector to the VecStim, but I am at a loss as to how to do that.
- Site Admin
- Posts: 5628
- Joined: Wed May 18, 2005 4:50 pm
- Location: Yale University School of Medicine
Why don't you just discard the part of the vector that contains values from before the first synaptic activation?what I would like to do is to only average between the times of the first and last event
If the "averaging window" is the time of the last event, won't you be ignoring the synaptic current generated by the last event (and truncating any significant tails from previous events)?